Statistics
| Branch: | Tag: | Revision:

root / tools @ 8a7f1c61

Name Size
burnin 38.2 kB
cfgshell 9.1 kB
cfgupgrade 6.3 kB
cfgupgrade12 12.1 kB
check-cert-expired 2 kB
cluster-merge 16.6 kB
lvmstrap 23.9 kB
move-instance 27.4 kB
sanitize-config 8.4 kB

Latest revisions

# Date Author Comment
8a7f1c61 07/12/2010 05:27 pm Michael Hanselmann

Add function to format all job log messages

Just calling utils.SafeEncode on the log message failed when it
wasn't of the type ELOG_MESSAGE and not a string. Now non-message
log entries are formatted using repr().

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

25e2fe5c 07/07/2010 11:06 am Iustin Pop

Merge branch 'devel-2.1'

  • devel-2.1:
    QA, burnin: allow selection of reboot types
    Add a QA option to disable reboots during burnin

Conflicts:
qa/qa-sample.json (trivial)
qa/qa_cluster.py (trivial)

Signed-off-by: Iustin Pop <>
Reviewed-by: Luca Bigliardi <>

1d103c02 07/07/2010 11:04 am Iustin Pop

QA, burnin: allow selection of reboot types

After some more investigation, only the soft reboot type fails for Xen
3.4 (due to the reboot/uptime time counter). As such, it's better to
allow selective testing, since we do want to test in general these
opcodes/the command line script....

2a7c3583 07/01/2010 03:13 pm Michael Hanselmann

RAPI client: Switch to pycURL

Currently the RAPI client uses the urllib2 and httplib modules from
Python's standard library. They're used with pyOpenSSL in a very fragile
way, and there are known issues when receiving large responses from a RAPI
server.
...

02e1292d 06/29/2010 01:47 pm Michael Hanselmann

cfgupgrade: Add option to override config verification

This is needed in a new test script for cfgupgrade where it's better
to only use the minimum parts necessary for testing cfgupgrade.
Including full configuration data to ensure verification doesn't fail...

30acff6c 06/29/2010 01:47 pm Michael Hanselmann

cfgupgrade: Fix bug when checking configuration directory

In the condition for checking the configuration directory, one “or” should have
been an “and”. This bug was in cfgupgrade since commit 95e4a8142 (June 2008).
Found thanks to a test script.

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

a9221f09 06/29/2010 01:47 pm Michael Hanselmann

cfgupgrade: Add support for Ganeti 2.2

Since configuration changes are now usually done in the configuration
writer class, cfgupgrade's only task is to change the config version.
This means we can easily support upgrading from Ganeti 2.0 and 2.1 to
2.2.
...

5d25b928 06/29/2010 01:45 pm Michael Hanselmann

Remove dead code from cfgupgrade

Three constants were no longer user after commit 11c31f5cb5, which
removed support for upgrading from Ganeti 1.2.

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

403f5172 06/28/2010 02:04 pm Guido Trotter

Remove pred from compat.any/all

This makes it compatible with the python builtin, and we can even use
the builtin when running under the right version of python. The all and
any functions are renamed to _all and _any, so that they can be tested,
and (non)existing unittests are updated (translation: there are no unit...

85edf27e 06/23/2010 07:24 pm Iustin Pop

Fix burnin's export test

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

View revisions

Also available in: Atom