Statistics
| Branch: | Tag: | Revision:

root / test / py @ 5e34123e

Name Size
bash_completion.bash 5.2 kB
cfgupgrade_unittest.py 16.6 kB
check-cert-expired_unittest.bash 1.9 kB
cli-test.bash 196 Bytes
daemon-util_unittest.bash 2.9 kB
docs_unittest.py 10.2 kB
ganeti-cleaner_unittest.bash 5.9 kB
ganeti-cli.test 504 Bytes
ganeti.asyncnotifier_unittest.py 6.7 kB
ganeti.backend_unittest-runasroot.py 2 kB
ganeti.backend_unittest.py 28 kB
ganeti.bootstrap_unittest.py 4.8 kB
ganeti.cli_unittest.py 58.3 kB
ganeti.client.gnt_cluster_unittest.py 9.3 kB
ganeti.client.gnt_instance_unittest.py 8.2 kB
ganeti.client.gnt_job_unittest.py 5 kB
ganeti.cmdlib.cluster_unittest.py 2.8 kB
ganeti.cmdlib.common_unittest.py 1.7 kB
ganeti.cmdlib.instance_storage_unittest.py 3.7 kB
ganeti.cmdlib_unittest.py 70.8 kB
ganeti.compat_unittest.py 3.9 kB
ganeti.confd.client_unittest.py 7.1 kB
ganeti.config_unittest.py 22.5 kB
ganeti.constants_unittest.py 6.4 kB
ganeti.daemon_unittest.py 24.3 kB
ganeti.errors_unittest.py 2.9 kB
ganeti.hooks_unittest.py 18.5 kB
ganeti.ht_unittest.py 9.2 kB
ganeti.http_unittest.py 26.2 kB
ganeti.hypervisor.hv_chroot_unittest.py 1.7 kB
ganeti.hypervisor.hv_fake_unittest.py 1.3 kB
ganeti.hypervisor.hv_kvm_unittest.py 12.4 kB
ganeti.hypervisor.hv_lxc_unittest.py 1.5 kB
ganeti.hypervisor.hv_xen_unittest.py 31 kB
ganeti.hypervisor_unittest.py 2.6 kB
ganeti.impexpd_unittest.py 8.5 kB
ganeti.jqueue_unittest.py 96.3 kB
ganeti.jstore_unittest.py 3.2 kB
ganeti.locking_unittest.py 92 kB
ganeti.luxi_unittest.py 8.9 kB
ganeti.masterd.iallocator_unittest.py 6.8 kB
ganeti.masterd.instance_unittest.py 5.7 kB
ganeti.mcpu_unittest.py 8.9 kB
ganeti.netutils_unittest.py 18.7 kB
ganeti.objects_unittest.py 25.5 kB
ganeti.opcodes_unittest.py 15.7 kB
ganeti.outils_unittest.py 3 kB
ganeti.ovf_unittest.py 30.1 kB
ganeti.qlang_unittest.py 10.2 kB
ganeti.query_unittest.py 74.4 kB
ganeti.rapi.baserlib_unittest.py 5.4 kB
ganeti.rapi.client_unittest.py 57.7 kB
ganeti.rapi.resources_unittest.py 2 kB
ganeti.rapi.rlib2_unittest.py 58.7 kB
ganeti.rapi.testutils_unittest.py 5.4 kB
ganeti.rpc_unittest.py 34.4 kB
ganeti.runtime_unittest.py 5.8 kB
ganeti.serializer_unittest.py 4.3 kB
ganeti.server.rapi_unittest.py 9.1 kB
ganeti.ssconf_unittest.py 8.6 kB
ganeti.ssh_unittest.py 5.1 kB
ganeti.storage.bdev_unittest.py 11.4 kB
ganeti.storage.container_unittest.py 4.5 kB
ganeti.storage.drbd_unittest.py 16.9 kB
ganeti.storage.filestorage_unittest.py 7.1 kB
ganeti.tools.burnin_unittest.py 1.2 kB
ganeti.tools.ensure_dirs_unittest.py 2.6 kB
ganeti.tools.node_daemon_setup_unittest.py 6.7 kB
ganeti.tools.prepare_node_join_unittest.py 8.7 kB
ganeti.uidpool_unittest.py 3.8 kB
ganeti.utils.algo_unittest.py 12 kB
ganeti.utils.filelock_unittest.py 4.3 kB
ganeti.utils.hash_unittest.py 4.4 kB
ganeti.utils.io_unittest-runasroot.py 4.6 kB
ganeti.utils.io_unittest.py 35.5 kB
ganeti.utils.log_unittest.py 8.3 kB
ganeti.utils.lvm_unittest.py 4 kB
ganeti.utils.mlock_unittest.py 1.5 kB
ganeti.utils.nodesetup_unittest.py 4 kB
ganeti.utils.process_unittest.py 24.7 kB
ganeti.utils.retry_unittest.py 4.5 kB
ganeti.utils.storage_unittest.py 4.8 kB
ganeti.utils.text_unittest.py 22 kB
ganeti.utils.wrapper_unittest.py 5.1 kB
ganeti.utils.x509_unittest.py 13.4 kB
ganeti.utils_unittest.py 12.6 kB
ganeti.vcluster_unittest.py 8.7 kB
ganeti.workerpool_unittest.py 19.5 kB
gnt-cli.test 1.5 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB
lockperf.py 3.5 kB
mocks.py 3.2 kB
pycurl_reset_unittest.py 2.3 kB
qa.qa_config_unittest.py 13.7 kB
tempfile_fork_unittest.py 3.4 kB
testutils.py 7.1 kB

Latest revisions

# Date Author Comment
5e34123e 09/25/2013 10:51 am Michele Tartara

Make QmpMessage a proper container

Newer pylint versions complain that QmpMessage is not a proper container because
it does not implement the len() and delitem() methods. This commit
implements them.

Also, tests are added.

Signed-off-by: Michele Tartara <>...

73d6b4a7 08/29/2013 04:13 pm Helga Velroyen

Auto-upgrade of disks' config wrt LD-renaming

This patch adds auto-upgrade functionality to the disk
objects with respected to the switch from LD constants
to DT constants. Unit tests are provided.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Guido Trotter <>

880ab678 08/29/2013 12:02 pm Helga Velroyen

Fix tests regarding DISK_LD_DEFAULTS

This fixes two remaining issues regarding the renaming
of DISK_LD_DEFAULTS:

- The keys of the map DISK_LD_DEFAULTS cannot be compared
to DISK_TEMPLATES right away, because there are no
defaults for the diskless template. This patch adjusts...

6da90c0a 08/28/2013 10:13 pm Helga Velroyen

Fixing renaming of DISK_LD_DEFAULTS

This fixes the somewhat over-eager renaming of
DISK_LD_DEFAULTS to DISK_DT_DEFAULTS, which clashes
with another occurence of DISK_DT_DEFAULTS. This
patch just undoes the renaming and additionally fixes
a test regarding shared file storage....

cd3b4ff4 08/28/2013 06:19 pm Helga Velroyen

Replace LD_* constants with DT_* constants

LD_* constants are basically like DT_* constants, except
for that both file and shared file were mapped to file.
In order to not having to maintain three slightly different
sets of disk-related constants (DT, LD and ST), we merge...

f148fe23 08/27/2013 03:04 pm Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Add function to unwrap Results logging failures
    Make the DRBD collector more failure-resilient
    Prepare GetLinuxNodeInfo for testing
    Add unit test for GetLinuxNodeInfo
    NEWS update and version bump for 2.8 rc2...
902eb29f 08/22/2013 06:18 pm Michele Tartara

Add unit test for GetLinuxNodeInfo

The function was not unit tested previously.

Signed-off-by: Michele Tartara <>
Reviewed-by: Helga Velroyen <>

c89eb67d 08/08/2013 06:48 pm Helga Velroyen

ClusterSetParams: move vg-name checks from to CheckPrereq

This fixes a bug in the logic of 'gnt-cluster modify'.
Some checks that should better be done in 'CheckPrereq'
were actually done in 'Exec'. This lead to a strange
behavior in case the execution failed, because an...

4e771a95 08/08/2013 06:48 pm Helga Velroyen

Move Ipolicy utility function to cmdlib/common.py

Since the check of consistency between an ipolicy and
the list of enabled disk templates will not only be
needed on cluster modification, but also on group
modification, we move the respective function and its...

d514e18b 08/08/2013 06:48 pm Helga Velroyen

bootstrap: restrict ipolicy to enabled disk templates

With this patch, on cluster creation, the initial instance
policy's list of allowed disk templates will be modified
in a way that it does not contain any disk templates which
are not enabled cluster-wise....

View revisions

Also available in: Atom