Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ a13e1743

Name Size
__init__.py 3.1 kB
backup.py 16.4 kB
base.py 21.5 kB
cluster.py 135.4 kB
common.py 47.5 kB
group.py 32.6 kB
instance.py 156.8 kB
instance_migration.py 37.7 kB
instance_operation.py 18.4 kB
instance_query.py 9.8 kB
instance_storage.py 101 kB
instance_utils.py 17.9 kB
misc.py 13.8 kB
network.py 18.7 kB
node.py 57.8 kB
operating_system.py 6.2 kB
query.py 2.4 kB
tags.py 6.4 kB
test.py 14.6 kB

Latest revisions

# Date Author Comment
f0c7c333 03/21/2014 05:19 pm Petr Pudlak

Move utility functions for candidate certs. to ConfigWriter

In particular AddNodeToCandidateCerts and RemoveNodeFromCandidateCerts.

Calling 'cfg.Update(cluster)' causes problems in WConfd, as
it doesn't operate on a shared configuration object any more....

7f37f0ca 03/21/2014 12:22 pm Dimitris Bliablias

Show OS variant information in gnt-os info

Currently, the non-standard/modified per-OS hypervisor parameters, or
OS specific parameters can be listed only by the 'gnt-cluster info'
command, which is a non-standard place to show them. Extend the
'gnt-os info' command to display the available/supported OS variants...

83fc0ab6 03/20/2014 04:56 pm Jose A. Lopes

Skip rename when OS scripts are absent

When an instance does not have OS scripts because, for example, it
uses an OS image, do not rename the instance after an import.

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

3473fb81 03/20/2014 04:56 pm Jose A. Lopes

Use raw disks in import/export when OS scripts are absent

When an instance does not have OS scripts because, for example, it has
an OS image, then the import/export should not try to run the OS
scripts. Instead, it should use raw import/export.

Signed-off-by: Jose A. Lopes <>...

6ea039ef 03/18/2014 01:52 pm Petr Pudlak

Add a thread ID to the WConfd client id

This allows to distinguish threads that don't have a job id, which is
needed for answering queries.

Since Python thread IDs aren't guaranteed to be unique, in future it'd
be preferable to use a different, unique identifier....

a3a19a06 03/17/2014 04:07 pm Jose A. Lopes

Remove unused functions to check OS variants

... as this is now performed on the node.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Petr Pudlak <>

703f9a66 03/17/2014 04:07 pm Jose A. Lopes

Remove calls to 'CheckNodeHasOS'

... because 'CheckOSParams' already checks the OS variant.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Petr Pudlak <>

ff030c75 03/17/2014 04:07 pm Jose A. Lopes

Add 'force_variant' to RPC 'os_validate'

Move function 'CheckOSVariant' to the node and add parameter
'force_variant' to RPC 'os_validate', thus making the node verify the
OS variant together with the rest of the OS params.

Signed-off-by: Jose A. Lopes <>...

3360026f 03/14/2014 04:03 pm Jose A. Lopes

Remove SSH copyfile from LU and assume the file exists

According to Ganeti design, files should not be copied from master to
nodes and instead they are assumed to exist and it is the user's
responsibility to assure that the file does exist.

Signed-off-by: Jose A. Lopes <>...

d46dbe0a 03/14/2014 04:03 pm Jose A. Lopes

Fix OS image detection on master

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

View revisions

Also available in: Atom