Statistics
| Branch: | Tag: | Revision:

root / test @ 0bff0b12

Name Size
  data
cfgupgrade_unittest.py 6.8 kB
check-cert-expired_unittest.bash 1.9 kB
daemon-util_unittest.bash 2.2 kB
docs_unittest.py 4.6 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 25.1 kB
ganeti.cmdlib_unittest.py 4.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 9.4 kB
ganeti.ht_unittest.py 5.7 kB
ganeti.http_unittest.py 14.4 kB
ganeti.hypervisor.hv_kvm_unittest.py 2.8 kB
ganeti.hypervisor_unittest.py 1.7 kB
ganeti.impexpd_unittest.py 8.5 kB
ganeti.jqueue_unittest.py 42.9 kB
ganeti.locking_unittest.py 61.2 kB
ganeti.luxi_unittest.py 8.9 kB
ganeti.masterd.instance_unittest.py 5.6 kB
ganeti.mcpu_unittest.py 2 kB
ganeti.netutils_unittest.py 14.3 kB
ganeti.objects_unittest.py 6.9 kB
ganeti.opcodes_unittest.py 4.2 kB
ganeti.qlang_unittest.py 2.6 kB
ganeti.query_unittest.py 29.9 kB
ganeti.rapi.client_unittest.py 37.9 kB
ganeti.rapi.resources_unittest.py 2.3 kB
ganeti.rapi.rlib2_unittest.py 13.5 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 93.9 kB
ganeti.workerpool_unittest.py 12 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB
mocks.py 2.8 kB
tempfile_fork_unittest.py 3.1 kB
testutils.py 4.9 kB

Latest revisions

# Date Author Comment
0bff0b12 01/05/2011 12:40 pm Michael Hanselmann

cmdlib: Remove opcode parameters

Remove the parameter definitions and use those from the opcode classes
instead. Small style changes are also made (empty lines, wrapping).

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

65e183af 01/05/2011 12:40 pm Michael Hanselmann

opcodes: Add opcode parameter definitions

This is the first step for migrating them from cmdlib. A metaclass is
used to define “__slots__” upon class creation time (not instantiation).

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

a6070ef7 01/05/2011 12:39 pm Michael Hanselmann

query2: Add new field status “offline”

This allows “gnt-node list” to show the difference between modes marked
offline and nodes with e.g. RPC errors (“(nodata)”). node1 is the
master, node2's node daemon crashed and node3 is marked offline:

$ gnt-node list -o name,offline,dtotal,dfree...

ecdf0398 01/04/2011 05:10 pm Michael Hanselmann

Add unittests for ht module

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

cee32223 12/31/2010 02:52 pm Michael Hanselmann

Merge branch 'devel-2.3'

  • devel-2.3:
    Fix typo in gnt-instance manpage
    jqueue: Fix cancelling while in waitlock in queue
    cli: Extend message for LUXI timeouts
    Fix timeout handling in LUXI client

Conflicts:
man/gnt-instance.sgml: Trivial merge in gnt-instance.rst...

2466c0fd 12/30/2010 07:51 pm Michael Hanselmann

cli: Change “<…>” in query output to “(…)”

This should reduce the amount of damage in case of accidential copy &
paste.

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

30c945d0 12/29/2010 05:48 pm Michael Hanselmann

jqueue: Fix cancelling while in waitlock in queue

Since the recent change to leave jobs in the “waitlock” status (commit
5fd6b6947), cancelling a job while it's back in the queue would break.
This patch handles these cases and adds a unittest.

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

0f9294f7 12/21/2010 08:14 pm Michael Hanselmann

Remove utils.FormatTimestampWithTZ

Long story short: time.strftime("%Z", time.localtime()) doesn't work,
even though it's documented to be equivalent to time.strftime("%Z").

$ TZ=America/Sao_Paulo python -c 'import time; print
time.strftime("%Z"), time.strftime("%Z", time.localtime())'...

9e691184 12/21/2010 08:14 pm Michael Hanselmann

Ensure temp files from RunCmd tests are removed

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

9f37f689 12/21/2010 03:18 pm Michael Hanselmann

utils: Timezone fixes and tests

- Update docstrings to explicitely mention Epoch
- Fix timezone bug in FormatTimestampWithTZ, where it would
use GMT/UTC when it should use the local timezone
- Add unittests for time formatting functions

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

View revisions

Also available in: Atom