Statistics
| Branch: | Tag: | Revision:

root / lib / client @ 8b7b7766

Name Size
__init__.py 789 Bytes
gnt_backup.py 4.9 kB
gnt_cluster.py 68.1 kB
gnt_debug.py 22.9 kB
gnt_group.py 11.6 kB
gnt_instance.py 55.9 kB
gnt_job.py 16.6 kB
gnt_network.py 11.9 kB
gnt_node.py 38.1 kB
gnt_os.py 8.3 kB
gnt_storage.py 5.5 kB

Latest revisions

# Date Author Comment
8b7b7766 10/17/2013 11:18 am Helga Velroyen

Remove deprecated deprecation warning for --no-lvm-storage

This removes the deprecation warning for the option
'--no-lvm-storage'. The deprecation warning was intended
to be raised in 2.9 and 2.10 and removed after that.

Signed-off-by: Helga Velroyen <>...

e96c0a5c 10/17/2013 11:09 am Hrvoje Ribicic

Turn on the usage of Haskell instance queries

This commmit finally switches the instance query handling on.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Jose A. Lopes <>

4f90370c 10/15/2013 02:13 pm Helga Velroyen

Make 'gnt-node list-storage' use default storage type

Currently, when no explicit storage type is given, the
'gnt-node list-storage' command defaults to file storage
whether or not file storage is enabled on the cluster
or not. This patch fixes it by defaulting to the default...

d48c944b 10/09/2013 01:40 pm Helga Velroyen

Use 'DTS_LVM' when possible

This patch replaces all usages of the utility function
'GetLvmDiskTemplate' by the new 'DTS_LVM' constant
to make it consistant with the usage of other DTS_*
constants.

Additionally, it provides a unit tests to ensure
consistancy between DTS_LVM and the mapping of disk...

645bba3a 10/09/2013 12:02 pm Klaus Aehlig

If possible, replace symbolic links in place

Naive 'ln -s -f a b' will put the link inside 'b', if
'b' is (a symlink to) a directory; so, during upgrades,
the links in $(sysconfdir) cannot be updated this way.
Removing and readding works, however leaves the risk...

6c2a735a 10/08/2013 01:14 pm Klaus Aehlig

Add --resume option to 'gnt-cluster upgrade'

This option will resume an upgrade of the Ganeti version of
a cluster that got interrupted by a reboot of the master node,
or similar event.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Thomas Thrainer <>

16e81432 10/08/2013 01:14 pm Klaus Aehlig

Add function to determine current configuration version

The 'gnt-cluster upgrade --resume' command needs to determine whether the
configuration has already been updated or not, in order to decide at which
phase to resume. So provide a function to determine the version of the...

36cfb584 10/08/2013 01:14 pm Klaus Aehlig

Add method to read and parse the intent-to-upgrade file

During upgrades, a file is written to disk on master that documents
the fact that an upgrade is currently in progress. Add a function
to parse it.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Thomas Thrainer <>

3b31c9da 10/07/2013 01:47 pm Klaus Aehlig

Write the intent-to-upgrade file during upgrades

To recognize that an upgrade attempt of a cluster was interrupted by a
power failure or similar, write a file into the file system documenting
that currently an upgrade is in progress.

Signed-off-by: Klaus Aehlig <>...

c51ffffe 10/04/2013 05:13 pm Klaus Aehlig

Add an upgrade command to gnt-cluster

This command will coordinate the switching to a new
Ganeti version across the cluster. This has become
possible by the new layout that allows several Ganeti
versions to be present at the same time.

Signed-off-by: Klaus Aehlig <>...

View revisions

Also available in: Atom