Statistics
| Branch: | Tag: | Revision:

root / tools / cfgupgrade @ b926bd98

History | View | Annotate | Download (12.3 kB)

# Date Author Comment
6f285030 03/06/2009 04:49 pm Iustin Pop

Fix serial_no field on instances

The instance objects did not get a serial_no field. This patch adds a
new constants for the field name and uses it for all three cases
(cluster, nodes, instances).

Reviewed-by: imsnah

ac4d25b6 03/04/2009 04:22 pm Iustin Pop

Complete the cfgupgrade script for 2.0 migrations

This patch makes the cfgupgrade script to handle:
- instance changes
- disk changes
- further cluster fixes
- adds configuration checks at the end, in non-dry-run mode

Reviewed-by: ultrotter

a421fdeb 03/04/2009 04:20 pm Iustin Pop

First run at cfgupgrade for 2.0 upgrades

This patch makes cfgupgrade work on empty cluster (i.e. no instances),
up to a point that the config file can be converted from 1.2 to 2.0.
This is not yet complete, though.

Reviewed-by: ultrotter

95e4a814 06/23/2008 04:39 pm Michael Hanselmann

cfgupgrade: Implement upgrading to Ganeti 2.0 configuration

Reviewed-by: iustinp

6d691282 06/23/2008 03:53 pm Michael Hanselmann

cfgupgrade: Add main() function

Reviewed-by: iustinp

eda37a5a 06/23/2008 03:53 pm Michael Hanselmann

cfgupgrade: Add logging module

Reviewed-by: iustinp

e0732b36 04/08/2008 03:54 pm Michael Hanselmann

Remove support for Pickle configuration files

Reviewed-by: iustinp

1c2d87fc 04/08/2008 03:54 pm Michael Hanselmann

Add more explicit help for command line

Reviewed-by: iustinp

f97c7901 04/08/2008 03:53 pm Michael Hanselmann

Update copyright year, imports of cfgupgrade

Reviewed-by: iustinp

f4bc1f2c 12/03/2007 04:03 pm Michael Hanselmann

Various code style fixes for strings.

- When line wrapping is needed, move spaces to the next line.
- Remove embedded line breaks from error messages.

Reviewed-by: schreiberal

319856a9 10/04/2007 02:33 pm Michael Hanselmann

Change configuration storage format from Pickle to JSON.

- Add NEWS file with major changes between versions.
- Bump RPC version number
- No longer serialize in RPC, but just convert to dict

Old Pickle based configuration files can be converted using the cfgupgrade...

3ecf6786 08/14/2007 06:17 pm Iustin Pop

Style changes for pep-8 and python-3000 compliance.

This changes the raising of exceptions from:
raise Exception, value
to
raise Exception(value)

as the first form will be removed in python-3000 and the second form is
preferred now.

The changes also involve a few cases of changing from raising standard...

60edf71e 08/02/2007 07:40 pm Michael Hanselmann

Implement --dry-run for cfgupgrade.

Reviewed-by: iustinp

0006af7d 08/02/2007 04:45 pm Michael Hanselmann

Add configuration upgrade utility.

Reviewed-by: iustinp