| Branch: | Tag: | Revision:

root / test @ fe4f6dca

Name Size
bash_completion.bash 5.2 kB 11.9 kB
check-cert-expired_unittest.bash 1.9 kB
cli-test.bash 193 Bytes
daemon-util_unittest.bash 2.5 kB 9.9 kB
ganeti-cleaner_unittest.bash 5.9 kB
ganeti-cli.test 504 Bytes 6.7 kB 3.3 kB 15.4 kB 3.6 kB 34.7 kB 9.3 kB 7 kB 51.1 kB 3.3 kB 7.1 kB 13.5 kB 5.4 kB 24 kB 2.9 kB 17.1 kB 8.8 kB 26.2 kB 1.6 kB 1.3 kB 8.4 kB 1.4 kB 1.5 kB 1.7 kB 8.5 kB 76.4 kB 3.2 kB 81.7 kB 8.9 kB 2.5 kB 5.7 kB 5.2 kB 18.7 kB 11.9 kB 1.3 kB 14.7 kB 29.9 kB 10.2 kB 73.3 kB 5.4 kB 51.9 kB 2 kB 56.5 kB 5.3 kB 31.1 kB 5.8 kB 3.4 kB 1.7 kB 4.4 kB 1.8 kB 3.8 kB 12 kB 4.3 kB 4.4 kB 3.1 kB 34.2 kB 6.3 kB 1.5 kB 4 kB 22.8 kB 4.5 kB 21.2 kB 3.8 kB 10.3 kB 11.9 kB 8.7 kB 13.3 kB
gnt-cli.test 1.5 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB 3.5 kB 2.8 kB 2.3 kB 3.2 kB 3.4 kB 6.3 kB

Latest revisions

# Date Author Comment
fe4f6dca 10/11/2012 12:56 pm Michael Hanselmann

vcluster: Don't virtualize /etc/hosts path

/etc/hosts is a bit special as it's a system-wide file and the virtual
cluster/node root doesn't apply. The modification of /etc/hosts should
be disabled in virtual clusters. If it isn't, however, the vcluster
functions would raise an exception complaining about a path outside of...

6a74f584 10/11/2012 12:38 pm Michael Hanselmann

Merge branch 'devel-2.6'

  • devel-2.6:
    verify-disks: Explicitely state nothing has to be done
    Add list of design documents implemented in version 2.6
    Better list of replace-disks arguments + typos fixed
    jqueue: Look at archived jobs when watching
    Show old primary/secondary node on disk replacement...
8a3cd185 10/11/2012 12:23 pm Michael Hanselmann

jqueue: Add new in-memory attribute for archived jobs

This attribute is set to True for jobs which were restored from an
archived file. A new filter will act on this field.

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

52aa1efa 10/11/2012 12:23 pm Michael Hanselmann

query: Report data type for unary operators

All data kinds (used to restrict the data collected) referenced in a
filter can be requested once it's been “compiled”. However, the kinds
of fields used in boolean expressions (e.g. ["?", "xyz"]) were not
recorded. This patch changes the code accordingly and provides a unit...

1ca7b773 10/11/2012 12:11 pm Michael Hanselmann

Add basic unit tests for "gnt-cluster epo"

This patch adds some unit tests for “gnt-cluster epo”. Not everything is
covered, but at least the bug fixed in the previous patch is.

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

4fdedd09 10/08/2012 02:39 pm Michael Hanselmann

jstore: Nicer error message on non-numeric file content

An error like “invalid literal for int() with base 10” can be quite

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

46118ed2 10/08/2012 02:09 pm Iustin Pop

Merge ganeti-master-cleaner back into ganeti-cleaner

As I wrote during/after the review on commit 2958c56, “ganeti-cleaner:
Separate queue cleaning code”, while I appreciated the permission
separation, I didn't like too much the file-based approach:

- it is a very simple script, and lots of the code is duplicated...

43a8f36a 10/05/2012 07:23 pm Bernardo Dal Seno

Explicitly ask for the default iallocator in commands

Now "gnt-instance recreate-disks" uses the default iallocator when "." is
specified as the iallocator. For uniformity, the same behavior applies to
these commands:
gnt-node evacuate
gnt-instance migrate...

fbdac0d9 10/05/2012 07:22 pm Michael Hanselmann

bdev: Add functions to verify file storage paths

- LoadAllowedFileStoragePaths: Loads a list of allowed file storage
paths from a file
- CheckFileStoragePath: Checks a path against the list of allowed paths

The unit test for “utils.IsBelowDir” is updated with cases which weren't...

6a9b9778 10/05/2012 04:52 am Michael Hanselmann

utils.FilterEmptyLinesAndComments: Return list

We don't use generators often and lists are easier to re-use.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

View revisions

Also available in: Atom