Statistics
| Branch: | Tag: | Revision:

root / test / py @ 38d1ee54

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 18.7 kB
ganeti.bdev_unittest.py 23 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_unittest.py 69.1 kB
ganeti.compat_unittest.py 3.9 kB
ganeti.confd.client_unittest.py 7.1 kB
ganeti.config_unittest.py 21.3 kB
ganeti.constants_unittest.py 6 kB
ganeti.daemon_unittest.py 24.3 kB
ganeti.errors_unittest.py 2.9 kB
ganeti.hooks_unittest.py 17.2 kB
ganeti.ht_unittest.py 9.2 kB
ganeti.http_unittest.py 26.2 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 11.8 kB
ganeti.hypervisor.hv_lxc_unittest.py 1.4 kB
ganeti.hypervisor.hv_xen_unittest.py 24.2 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 5.1 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 24.3 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 73.5 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 32.1 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.2 kB
ganeti.ssh_unittest.py 5.1 kB
ganeti.storage_unittest.py 4.5 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 6 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 2.9 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 6.7 kB

Latest revisions

# Date Author Comment
38d1ee54 09/20/2013 03:22 pm Klaus Aehlig

Make retry tests independent of actual time

Even in the tests, real time is used. While, generally, the assumptions
about execution time are pretty safe, in some rare circumstances, e.g.,
on machines with extremely heavy load they do not hold true, thus rendering...

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 <>

0c072225 08/07/2013 02:29 pm Thomas Thrainer

Merge branch 'stable-2.7' into stable-2.8

  • stable-2.7
    Fix documentation of gnt-instance batch-create
    Support multi instance allocs without iallocator
    Document --no-conflicts-check for gnt-network
    Check disk template in right dict when copying
    ganeti.backend_unittest: chmod restricted cmd dir...
a9542a4f 08/07/2013 10:38 am Thomas Thrainer

Support DSA SSH keys in bootstrap

As outlined in issue 338, Ganeti failed to initialize a cluster if no
RSA SSH key is present on the master node. This patch extends Ganetis
support to DSA keys, so clusters with only DSA keys are possible now.

This fixes issue 338....

24cd672e 07/31/2013 05:38 pm Apollon Oikonomopoulos

ganeti.backend_unittest: chmod restricted cmd dir

TestVerifyRestrictedCmdDirectory.testNormal implicitly relies on the current
umask to check the behaviour of backend._VerifyRestrictedCmdDirectory. However,
when run under a more relaxed umask (as in the case of the Debian buildd's...

3695a4e0 07/17/2013 06:04 pm Thomas Thrainer

Rename queryd to luxid

As queryd will, in the future, handle all LUXI request, queue jobs and
most likely perform various other tasks, it is renamed to luxid already.
This will safe some headache when upgrading Ganeti installations, as we
don't have to deal with a daemon rename....

238cfd3a 07/17/2013 05:14 pm Klaus Aehlig

Document the rapi client not to have a QueryNetworks method

While there is a luxi query QueryNetworks, the rapi client does not
provide such a method. Document this by declaring it in the
KNOWN_UNUSED_LUXI calls.

Signed-off-by: Klaus Aehlig <>...

670e954a 07/17/2013 12:33 pm Thomas Thrainer

Add queryd daemon (split from confd)

queryd is added as a new daemon which handles configuration queries over
LUXI. This functionality was removed from confd, which now only queries
over the network.

The queryd user is added to the master group such that it can access...

3312709d 07/10/2013 05:21 pm Leon Handreke

Expose bulk parameter for GetJobs in RAPI client

This patch exposes the bulk argument of the jobs resource on
the RAPI python wrapper, making it possible to retrieve status
information about all jobs with a single call.

Signed-off-by: Leon Handreke <>...

335c14dc 07/10/2013 04:44 pm Michele Tartara

Add tests for CanRead

Verify that the CanRead function is actually able to check whether a file has
the proper permissions.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

View revisions

Also available in: Atom