Statistics
| Branch: | Tag: | Revision:

root / lib / client @ 744ff486

Name Size
__init__.py 1.3 kB
gnt_backup.py 5.5 kB
gnt_cluster.py 71.1 kB
gnt_debug.py 23.7 kB
gnt_group.py 12.4 kB
gnt_instance.py 57.4 kB
gnt_job.py 17.2 kB
gnt_network.py 12.5 kB
gnt_node.py 37.6 kB
gnt_os.py 8.9 kB
gnt_storage.py 6.1 kB

Latest revisions

# Date Author Comment
421ab83e 10/13/2014 10:02 pm Yuto KAWAMURA(kawamuray)

Check the return value of query in ConnectToInstanceConsole

When running gnt-instance console for an instance name that doesn't
exist, I got the following raw error:

...
cl.QueryInstances([instance_name], ["console", "oper_state"], False)
ValueError: need more than 0 values to unpack...

d9ef8346 09/25/2014 05:03 pm Yuto KAWAMURA(kawamuray)

Fix invalid message from gnt-os

When we still don't have any os scripts installed, running gnt-os
diagnose or gnt-os info foo(whatever) shows an error message "Can't get
the OS list" even if the request has been succeeded.
The OpOsDiagnose can return a blank list, so we should check whether...

fe42a791 09/12/2014 10:59 am Klaus Aehlig

Update the license statement

It was decided that Ganeti is relicensed under the 2-clause
BSD license. Update the license statements accordingly (issue #936).

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

b0d1e392 09/09/2014 01:34 pm Hrvoje Ribicic

Add warning against hvparam changes with live migrations

Changing certain hvparams while an instance is running leads to a
dangerous situation for the instance. When the instance undergoes live
migration without having undergone a reboot that would have applied the...

de23298f 08/18/2014 10:41 am Klaus Aehlig

On upgrades, check for upgrades to resume first

Make gnt-cluster upgrade refuse to upgrade if an upgrade to be resumed
is present. For the convenience of the user, consider an upgrade
command to the same target version as the upgrade to be resumed as an
equivalent way of saying that the pending upgrade is to be resumed....

49fd9730 08/13/2014 12:05 pm Klaus Aehlig

Pause watcher during upgrade

As also suggested in the manual upgrade instructions,
pause the watcher (for 1h) during the upgrade. Fixes
issue 905.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

68d4f578 08/07/2014 03:02 pm Helga Velroyen

Fix lint error

This fixes a lint error of the previous patch complaining
about an unused variable.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Michele Tartara <>

a89f62e2 08/05/2014 05:46 pm Apollon Oikonomopoulos

Create the config backup archive in a safe way

Since the config backup archive contains sensitive information and is
written in world-readable locations (/var/lib by default), it should be
created in a safe way and with strict permissions.

This commit uses a temporary file to tackle two issues: the relaxed...

07b70f64 07/24/2014 03:53 pm Klaus Aehlig

Update usage string for 'gnt-network connect'

Commit 2243b133 removed the old, positional, passing of mode
and link arguments. Adapt the documentation string accordingly.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

4d2b50f7 07/14/2014 06:34 pm Klaus Aehlig

Exclude archived jobs from configuration backup

For a cluster that existed for a long time, the archive of
old jobs might be big. Additionally, this data is neither
necessary for running new jobs, nor is it touched in the
upgrade procedure. Hence it is safe to be excluded from...

View revisions

Also available in: Atom