Statistics
| Branch: | Tag: | Revision:

root / test @ 0fa753ba

Name Size
  data
cfgupgrade_unittest.py 11.6 kB
check-cert-expired_unittest.bash 1.9 kB
daemon-util_unittest.bash 2.2 kB
docs_unittest.py 6.8 kB
ganeti-cleaner_unittest.bash 5.1 kB
ganeti.asyncnotifier_unittest.py 6.4 kB
ganeti.backend_unittest.py 3.3 kB
ganeti.bdev_unittest.py 9.7 kB
ganeti.cache_unittest.py 3.6 kB
ganeti.cli_unittest.py 31.2 kB
ganeti.client.gnt_cluster_unittest.py 5.2 kB
ganeti.client.gnt_instance_unittest.py 4.7 kB
ganeti.cmdlib_unittest.py 15.6 kB
ganeti.compat_unittest.py 3.3 kB
ganeti.confd.client_unittest.py 7.1 kB
ganeti.config_unittest.py 12.7 kB
ganeti.constants_unittest.py 4.5 kB
ganeti.daemon_unittest.py 24 kB
ganeti.errors_unittest.py 2.5 kB
ganeti.hooks_unittest.py 17 kB
ganeti.ht_unittest.py 8.8 kB
ganeti.http_unittest.py 14.4 kB
ganeti.hypervisor.hv_chroot_unittest.py 1.6 kB
ganeti.hypervisor.hv_fake_unittest.py 1.3 kB
ganeti.hypervisor.hv_kvm_unittest.py 3.4 kB
ganeti.hypervisor.hv_lxc_unittest.py 1.4 kB
ganeti.hypervisor.hv_xen_unittest.py 1.5 kB
ganeti.hypervisor_unittest.py 1.7 kB
ganeti.impexpd_unittest.py 8.5 kB
ganeti.jqueue_unittest.py 74.4 kB
ganeti.locking_unittest.py 76.1 kB
ganeti.luxi_unittest.py 8.9 kB
ganeti.masterd.instance_unittest.py 5.6 kB
ganeti.mcpu_unittest.py 2.1 kB
ganeti.netutils_unittest.py 17.8 kB
ganeti.objects_unittest.py 9.6 kB
ganeti.opcodes_unittest.py 12 kB
ganeti.qlang_unittest.py 9.6 kB
ganeti.query_unittest.py 63.2 kB
ganeti.rapi.baserlib_unittest.py 3.3 kB
ganeti.rapi.client_unittest.py 50.8 kB
ganeti.rapi.resources_unittest.py 2.3 kB
ganeti.rapi.rlib2_unittest.py 18.6 kB
ganeti.rpc_unittest.py 10 kB
ganeti.runtime_unittest.py 5 kB
ganeti.serializer_unittest.py 3.5 kB
ganeti.ssh_unittest.py 1.7 kB
ganeti.tools.ensure_dirs_unittest.py 6.5 kB
ganeti.uidpool_unittest.py 3.8 kB
ganeti.utils.algo_unittest.py 8.9 kB
ganeti.utils.filelock_unittest.py 4.3 kB
ganeti.utils.hash_unittest.py 4.4 kB
ganeti.utils.io_unittest.py 25.3 kB
ganeti.utils.log_unittest.py 6.3 kB
ganeti.utils.mlock_unittest.py 1.5 kB
ganeti.utils.nodesetup_unittest.py 3.9 kB
ganeti.utils.process_unittest.py 22.8 kB
ganeti.utils.retry_unittest.py 4.5 kB
ganeti.utils.text_unittest.py 18.3 kB
ganeti.utils.wrapper_unittest.py 3.8 kB
ganeti.utils.x509_unittest.py 9 kB
ganeti.utils_unittest.py 10 kB
ganeti.workerpool_unittest.py 12 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB
mocks.py 2.7 kB
tempfile_fork_unittest.py 3.1 kB
testutils.py 5.5 kB

Latest revisions

# Date Author Comment
a41fd46e 01/09/2012 06:16 pm Michael Hanselmann

Merge branch 'devel-2.4' into stable-2.5

  • devel-2.4:
    Add UnescapeAndSplit unittest for multi-escapes
    Fix a bug in command line option parsing code
    ConfigWriter: Fix epydoc error
    LUGroupAssignNodes: Fix node membership corruption
    Ensure unused ports return to the free port pool...
585c8187 01/06/2012 12:27 pm Guido Trotter

KVM: support version reported by 1.0

This of course was working for all the rcs, but broke with 1.0 itself.

In addition:
- split between running kvm --version and parsing its output
- unittest parsing for various known --help outputs
- updated NEWS file...

37d76f1e 12/21/2011 04:35 pm Michael Hanselmann

jqueue: Fix deadlock between job queue and dependency manager

When an opcode is about to be processed its dependencies are
evaluated using “_JobDependencyManager.CheckAndRegister”. Due
to its nature that function requires a lock on the manager's
internal structures. All of this happens while the job queue...

b39d17b1 11/30/2011 12:11 pm Iustin Pop

Add UnescapeAndSplit unittest for multi-escapes

This would have caught the bug in the first place. Argh,
hand-generated test cases!

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

54c31fd3 11/24/2011 10:39 am Michael Hanselmann

LUGroupAssignNodes: Fix node membership corruption

Note: This bug only manifests itself in Ganeti 2.5, but since the
problematic code also exists in 2.4, I decided to fix it there.

If a node was assigned to a new group using “gnt-group assign-nodes” the...

218f4c3d 11/24/2011 10:32 am Michael Hanselmann

LUGroupAssignNodes: Fix node membership corruption

Note: This bug only manifests itself in Ganeti 2.5, but since the
problematic code also exists in 2.4, I decided to fix it there.

If a node was assigned to a new group using “gnt-group assign-nodes” the...

d755483c 11/08/2011 04:06 pm Michael Hanselmann

Fail if node/group evacuation can't evacuate instances

If an instance can't be evacuated, only a message would be printed. With
this change the operation always aborts. Newly added unittests check for
this behaviour.

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

0b58db81 10/18/2011 06:29 pm Michael Hanselmann

RAPI: Make node evacuation actually work

Commit e1f23243 changed te LU and opcode for node evacuation to receive
a “mode” parameter (among other things). Commit de40437a changed the
RAPI code accordingly, but did so for an earlier version of the first
patch. Obviously this couldn't work, so here's the fix....

539d65ba 10/17/2011 04:58 pm Michael Hanselmann

RAPI: Fix resource for replacing disks

Commit d1c172deb4f inadvertently changes the
“/2/instances/[instance_name]/replace-disks” resource to use body
parameters. There were no QA tests and the issue wasn't noticed.

This patch re-introduces support for query parameters and adds a QA...

170b02b7 10/04/2011 11:33 am Michael Hanselmann

Fix issue when verifying cluster files

If a cluster has any non-master-candidate nodes, those don't contain all
files (e.g. config.data). With commit aef59ae764dc (March 31st, 2011)
the logic was changed and subsequently verifying a cluster with non-mc
nodes would complain....

View revisions

Also available in: Atom