Statistics
| Branch: | Tag: | Revision:

root / test @ f12e1736

Name Size
  data
cfgupgrade_unittest.py 4.5 kB
check-cert-expired_unittest.bash 1.9 kB
daemon-util_unittest.bash 2.2 kB
docs_unittest.py 4.5 kB
ganeti-cleaner_unittest.bash 4.1 kB
ganeti.asyncnotifier_unittest.py 5.9 kB
ganeti.backend_unittest.py 3.3 kB
ganeti.bdev_unittest.py 8.9 kB
ganeti.cli_unittest.py 14.2 kB
ganeti.cmdlib_unittest.py 5 kB
ganeti.compat_unittest.py 3.3 kB
ganeti.confd.client_unittest.py 7.1 kB
ganeti.config_unittest.py 6.1 kB
ganeti.constants_unittest.py 4 kB
ganeti.daemon_unittest.py 24 kB
ganeti.errors_unittest.py 2.5 kB
ganeti.hooks_unittest.py 9.4 kB
ganeti.http_unittest.py 14.6 kB
ganeti.hypervisor.hv_kvm_unittest.py 2.8 kB
ganeti.impexpd_unittest.py 5.8 kB
ganeti.jqueue_unittest.py 6.6 kB
ganeti.locking_unittest.py 54.1 kB
ganeti.luxi_unittest.py 3.7 kB
ganeti.masterd.instance_unittest.py 5.6 kB
ganeti.mcpu_unittest.py 1.8 kB
ganeti.netutils_unittest.py 14.3 kB
ganeti.objects_unittest.py 4.5 kB
ganeti.opcodes_unittest.py 2.3 kB
ganeti.rapi.client_unittest.py 34 kB
ganeti.rapi.resources_unittest.py 2.3 kB
ganeti.rapi.rlib2_unittest.py 11.2 kB
ganeti.rpc_unittest.py 10 kB
ganeti.runtime_unittest.py 3.5 kB
ganeti.serializer_unittest.py 3.5 kB
ganeti.ssh_unittest.py 1.7 kB
ganeti.uidpool_unittest.py 3.8 kB
ganeti.utils_mlockall_unittest.py 1.4 kB
ganeti.utils_unittest.py 78.1 kB
ganeti.workerpool_unittest.py 12 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB
mocks.py 2.3 kB
tempfile_fork_unittest.py 3.1 kB
testutils.py 4.4 kB

Latest revisions

# Date Author Comment
f12e1736 09/06/2010 05:08 pm René Nussbaumer

Adding a runtime configuration library

This is used to expand the users/group names just once at
initial call.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

100a75a7 08/27/2010 04:10 pm Michael Hanselmann

Merge branch 'devel-2.2'

  • devel-2.2:
    Show list of pending acquires in “gnt-debug locks”

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

c31825f7 08/27/2010 03:03 pm Michael Hanselmann

Show list of pending acquires in “gnt-debug locks”

This is accomplished by keeping a list of waiting threads instead
of just their number inside the lock-internal condition. A few
other tweaks to the output format are also made.

Signed-off-by: Michael Hanselmann <>...

c30421e0 08/25/2010 12:56 pm René Nussbaumer

Merge branch 'devel-2.2'

hansmi helped me with merging the conflict. Thanks

Conflicts:
lib/workerpool.py

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

33993ab8 08/25/2010 12:02 pm René Nussbaumer

Adding a paramiko fingerprint format helper

And provide unittests for them

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

52c47e4e 08/24/2010 06:32 pm Michael Hanselmann

workerpool: Add support for task priority

To add job priorities, the worker pool underlying the job queue must
support priorities per task. This patch adds them to the worker pool.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

73c25d35 08/24/2010 06:29 pm Michael Hanselmann

Fix race condition in locking unittest

While writing unittests for the new lock monitor, I made a small mistake and
didn't synchronize acquiring locks properly. This patch takes care of this
issue by adding additional synchronization.

Signed-off-by: Michael Hanselmann <>...

19b9ba9a 08/24/2010 05:57 pm Michael Hanselmann

Add simple lock monitor

This patch adds an initial implementation of a lock monitor, accessible
for the user through “gnt-debug locks”. It currently shows all resource
locks: BGL, nodes and instances. Config and job queue locks could be
shown too, but wouldn't be of much help. The current owner(s) and mode...

daba67c7 08/24/2010 05:27 pm Michael Hanselmann

workerpool: Allow setting task name

With this patch, the task name is added to the thread name and will show up in
logs. Log messages from jobs will look like “pid=578/JobQueue14/Job13 mcpu:289
DEBUG LU locks acquired/cluster/BGL/shared”.

Signed-off-by: Michael Hanselmann <>...

a4ebd726 08/23/2010 06:26 pm Michael Hanselmann

Use one function to parse “--fields” option values

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

View revisions

Also available in: Atom