| Branch: | Tag: | Revision:

root / test @ 1b5150ab

Name Size
  data 11.6 kB
check-cert-expired_unittest.bash 1.9 kB
daemon-util_unittest.bash 2.2 kB 6.8 kB
ganeti-cleaner_unittest.bash 5.1 kB 6.4 kB 3.3 kB 9.7 kB 3.6 kB 31.2 kB 5.2 kB 4.7 kB 16.4 kB 3.3 kB 7.1 kB 12.7 kB 4.5 kB 24 kB 2.5 kB 17.1 kB 8.8 kB 14.4 kB 1.6 kB 1.3 kB 7.4 kB 1.4 kB 1.5 kB 1.7 kB 8.5 kB 74.4 kB 76.1 kB 8.9 kB 5.6 kB 2.1 kB 17.8 kB 9.6 kB 12 kB 9.6 kB 63.2 kB 3.3 kB 51.1 kB 2.3 kB 18.6 kB 10 kB 5 kB 3.5 kB 1.7 kB 1.8 kB 3.8 kB 9.8 kB 4.3 kB 4.4 kB 32.4 kB 6.3 kB 1.5 kB 3.9 kB 22.8 kB 4.5 kB 18.1 kB 3.8 kB 9 kB 10 kB 12 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB 2.7 kB 3.1 kB 5.5 kB

Latest revisions

# Date Author Comment
1b5150ab 12/22/2011 03:19 pm Michael Hanselmann

jqueue unittest: Rename simple fake-job class

Also add a parameter for priority, to be used in an upcoming

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

b6522276 12/08/2011 06:21 pm Michael Hanselmann Improve error reporting

If the PID file is already locked by another process, try to read
the content and report it as part of the error message.

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

2dbc6857 12/08/2011 12:42 pm Michael Hanselmann

utils.ListVisibleFiles: Hide “lost+found” directories

If a “lost+found” directory is found at a filesystem's root path it is
ignored. In all other cases directory entries named “lost+found” are
treated normally. Unittests are included. Fixes issue 153.

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

fbd55434 11/30/2011 03:18 pm Michael Hanselmann

Fix race condition in test for *FileID functions

In this test the “file ID” of a temporary file is compared against the
file ID gathered via an open file descriptor to the same file. For
reasons unknown to me utime(2) is called in-between to update the
inode's a- and mtime. Depending on the file system's timestamp...

2b9245ff 11/24/2011 11:04 am Michael Hanselmann

Merge branch 'stable-2.5' into devel-2.5

  • stable-2.5:
    LUGroupAssignNodes: Fix node membership corruption
    Fix pylint warning on unreachable code
    LUNodeEvacuate: Disallow migrating all instances at once
    LUNodeEvacuate: Locking fixes
    Fix error when removing node...
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...

cb92e7a1 11/23/2011 03:03 pm Michael Hanselmann

Separate OpNodeEvacuate.mode from iallocator

Until now the iallocator constants for node evacuation
(IALLOCATOR_NEVAC_*) were also used for the opcode. However, it turned
out this was due to a misunderstanding and is incorrect. This patch adds
new constants (with the same values) and changes the affected places....

0c1441eb 11/18/2011 12:41 pm Michael Hanselmann

Merge branch 'stable-2.5' into devel-2.5

  • stable-2.5:
    htools: rework message display construction
    hbal: handle empty node groups
    Document OpNodeMigrate's result for RAPI
    Fail if node/group evacuation can't evacuate instances
    LUInstanceRename: Compare name with name...
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 <>...

da124e89 11/01/2011 09:07 pm Andrea Spadaccini

Generalize HooksMaster

- remove any dependence on Logical Units from the HooksMaster;
- add a new function parameter to the constructor, a function that is
expected to convert the results of the hooks execution in a format
understood by the HooksMaster;...

View revisions

Also available in: Atom