Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ d9adac23

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.3 kB
instance_utils.py 17.9 kB
misc.py 13.8 kB
network.py 18.7 kB
node.py 57.9 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
d9adac23 03/27/2014 04:43 pm Petr Pudlak

Instance storage: Mark functions that modify instances

.. in the configuration with comments.

Also re-read an instance object where needed.

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

89179c36 03/27/2014 04:39 pm Petr Pudlak

Fix calls to Update in TLMigrateInstance

Instead of modifying the primary node on an object and calling 'Update',
a new method was added to ConfigWriter.

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

3f3b6e7d 03/27/2014 04:39 pm Petr Pudlak

Fix calls to Update in LUNodeSetParams

Add calls to Update after modifying the node's configuration and move
some of the modifications so that they don't conflict with other calls
to ConfigWriter.

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

66223061 03/27/2014 04:39 pm Petr Pudlak

Fix calls to Update in LUInstanceSetParams

In particular, move the call to Update so that it doesn't conflict with
calls to ConfigWriter methods that change the configuration state.

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

4c04ae43 03/27/2014 04:39 pm Petr Pudlak

Fix calls to Update in LUClusterSetParams

Since this LU intersperses calls ConfigWriter methods with modifying
objects directly, it's necessary to call 'Update' and/or re-read them at
appropriate places.

Also a new ConfigWriter method is created for modifying the instance...

f47b32a8 03/27/2014 04:39 pm Petr Pudlak

Make configuration per job/thread

Previously there was one shared configuration object for all jobs,
threads and other tasks. This patch creates separate ConfigWrite
instances for distinct jobs/threads.

All exported methods of ConfigWriter are now wrapped in calls that...

e1374a9e 03/27/2014 04:39 pm Petr Pudlak

Use explicit configuration for nodes in GanetiContext

This way, each call to AddNode or RemoveNode uses a passed configuration
object that belongs to the appropriate job.

This is required to subsequently get rid of the single shared
ConfigWriter object....

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 <>

View revisions

Also available in: Atom