Statistics
| Branch: | Tag: | Revision:

root / test @ 2d91e6ae

Name Size
  data
cfgupgrade_unittest.py 11.4 kB
check-cert-expired_unittest.bash 1.9 kB
daemon-util_unittest.bash 2.2 kB
docs_unittest.py 6.2 kB
ganeti-cleaner_unittest.bash 4.1 kB
ganeti.asyncnotifier_unittest.py 6.4 kB
ganeti.backend_unittest.py 3.3 kB
ganeti.bdev_unittest.py 8.9 kB
ganeti.cli_unittest.py 26.3 kB
ganeti.client.gnt_cluster_unittest.py 5.2 kB
ganeti.client.gnt_instance_unittest.py 4.7 kB
ganeti.cmdlib_unittest.py 7 kB
ganeti.compat_unittest.py 3.3 kB
ganeti.confd.client_unittest.py 7.1 kB
ganeti.config_unittest.py 8.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 5.7 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 2.6 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 46.8 kB
ganeti.locking_unittest.py 66.5 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 14.3 kB
ganeti.objects_unittest.py 9.6 kB
ganeti.opcodes_unittest.py 9.9 kB
ganeti.qlang_unittest.py 7.6 kB
ganeti.query_unittest.py 63.2 kB
ganeti.rapi.baserlib_unittest.py 3.3 kB
ganeti.rapi.client_unittest.py 45.8 kB
ganeti.rapi.resources_unittest.py 2.3 kB
ganeti.rapi.rlib2_unittest.py 18 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.tools.ensure_dirs_unittest.py 5.1 kB
ganeti.uidpool_unittest.py 3.8 kB
ganeti.utils.algo_unittest.py 8.7 kB
ganeti.utils.filelock_unittest.py 4.3 kB
ganeti.utils.hash_unittest.py 4.4 kB
ganeti.utils.io_unittest.py 25.1 kB
ganeti.utils.log_unittest.py 6.2 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 17.6 kB
ganeti.utils.wrapper_unittest.py 3.8 kB
ganeti.utils.x509_unittest.py 8.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.6 kB
tempfile_fork_unittest.py 3.1 kB
testutils.py 5.5 kB

Latest revisions

# Date Author Comment
2d91e6ae 05/10/2011 02:03 pm Michael Hanselmann

Re-indent test/mocks.py using two spaces

No idea where those four spaces came from, but they must've been there
for a while.

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

0d5a0b96 05/10/2011 02:03 pm Michael Hanselmann

cmdlib: Remove acquired_locks attribute from LUs

The “acquired_locks” attribute in LUs is used to keep a list of acquired
locks at each lock level. This information is already known in the lock
manager, which also happens to be the authoritative source. Removing the...

3ce9a5e7 05/09/2011 06:49 pm Michael Hanselmann

opcodes: Add function for compact summary

Depending on the opcode and its parameters, the existing “Summary”
function can give a rater long summary. For displaying the summary in
logs and in the lock monitor, it should be shorter. Hence this new
function is added to just use the opcode ID with common prefixes...

83f2d5f6 05/09/2011 06:33 pm Michael Hanselmann

locking: Make parameter to condition's wait() positional

It is always used in the locking code. Unittests are updated.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

580c971e 04/29/2011 03:38 pm Michael Hanselmann

Merge branch 'devel-2.4'

  • devel-2.4: (24 commits)
    mlock: fail gracefully if libc.so.6 cannot be loaded
    Allow creating the DRBD metadev in a different VG
    Make _GenerateDRBD8Branch accept different VG names
    Fix WriteFile with unicode data
    Replace disks: keep the meta device in the same VG...
8f9a87c5 04/28/2011 01:06 pm Iustin Pop

SetEtcHostsEntry: maintain existing ordering

Currently RemoveEtcHostsEntry keeps the ordering, but SetEtcHostsEntry
not, as it will always write the new entry at the end of file. I
personally dislike this as it "uglifies" my custom host files, so this
patch makes it update the record instead in-place so to say instead of...

1d39e245 04/28/2011 01:02 pm Iustin Pop

Fix WriteFile with unicode data

Unicode is fun, indeed:

len(buffer("abc"))

3

len(buffer(u"abc"))

12

So we can't pass unicode data to buffer(), as the result will be to
write the in-memory (usually UTF-32) representation to disk.

Signed-off-by: Iustin Pop <>...

414ebaf1 04/21/2011 04:08 pm Michael Hanselmann

RAPI: Add support for tagging node groups

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

3f2f55bb 04/18/2011 06:55 pm Michael Hanselmann

qlang: Add function to distinguish filters from names

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

7578ab0a 04/18/2011 06:55 pm Michael Hanselmann

qlang: Add parser for query filter language

With this parser, command line utilities will be able to provide filters
through query2 in a simplistic language. Example filters:

name  "node3.example.com" 
master or (name "node4.example.com")
be/memory == 128 and name =~ /^web/i...

View revisions

Also available in: Atom