Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ 11bd1fac

Name Size
__init__.py 3.2 kB
backup.py 18 kB
base.py 17.5 kB
cluster.py 104.7 kB
common.py 34.8 kB
group.py 31.5 kB
instance.py 138.6 kB
instance_migration.py 35.8 kB
instance_operation.py 17.7 kB
instance_query.py 15 kB
instance_storage.py 93.4 kB
instance_utils.py 20.2 kB
misc.py 13.8 kB
network.py 21.3 kB
node.py 56.4 kB
operating_system.py 6.1 kB
query.py 2.8 kB
tags.py 5.9 kB
test.py 11.9 kB

Latest revisions

# Date Author Comment
11bd1fac 12/02/2013 12:36 pm Dimitris Aragiorgis

Export logical_id info to hooks env

Signed-off-by: Dimitris Aragiorgis <>

83e6917d 11/26/2013 04:52 pm Dimitris Aragiorgis

Fix a bug in InstanceSetParams concerning names

In case no name is passed in disk modifications we should
keep the old one. If name=none then set disk name to None.

Signed-off-by: Dimitris Aragiorgis <>

77ed6182 11/25/2013 06:39 pm Dimitris Aragiorgis

Workaround for Issue 621

Upon LUNetworkDisconnect() and LUNetworkConnect() try to acquire
all cluster's instances.

By that _LS_ACQUIRE_ALL acquire mode is set and not
_LS_ACQUIRE_EXACT and thus the deleted lock does cause any problem.

TODO: find a less greedy way to fix that....

f71dde78 11/25/2013 05:57 pm Dimitris Aragiorgis

Fix NODE/NODE_RES locking in LUInstanceCreate

Both NODE and NODE_RES locks were acquired opportunistically if so
requested by the user. LUInstanceCreate requires, however, that the
actually locked elements on NODE and NODE_RES level are the same.

This patch changes the locking of NODE_RES such that those locks are...

7cfe1eb6 11/21/2013 04:34 pm Dimitris Aragiorgis

Introduce --hotplug-if-possible option

This will be useful for an external entity using RAPI that
wants to modify devices of instances.

The common use case for that is:
"I want to add a NIC/disk to an instance. If it is running
then try to hotplug the device. If not, then just add it to config."...

36a13a53 11/19/2013 03:22 pm Dimitris Aragiorgis

Do not abort if hotplug is not supported

This will be useful for an external entity using RAPI that
wants to do device modifications to instances.

The common use case for that is:
"I want to add a nic/disk to an instance. If it is running
then hotplug the device. If not, then just add it to config."...

9b572e39 11/13/2013 02:32 am Dimitris Aragiorgis

Snapshot support for ExtStorage

Extend existing RPC params with the snapshot name and
add allow snapshot not only for LVM but also for EXT.

Signed-off-by: Dimitris Aragiorgis <>

eb599722 11/13/2013 01:24 am Dimitris Aragiorgis

Do not remove disks if --keep-disks and DT_EXT

Signed-off-by: Dimitris Aragiorgis <>

7a1a3efd 11/13/2013 01:24 am Dimitris Aragiorgis

Allow instances to obtain externally reserved IPs

The administrator should be able to assign an externally reserved IP
to a Ganeti instance manually, if desired. Currently this is not
supported. External reservations should act as holes in the pool and
not just as IPs already used by someone outside of Ganeti....

130a5d83 11/13/2013 01:24 am Dimitris Aragiorgis

Mark cluster's IPs as externally reserved

Currently, upon network creation, nodes' and master's IPs
are reserved in the pool.

This leads to pool reservations ('X' in map) that cannot be changed
afterwards, although they may need to (e.g. in case of node...

View revisions

Also available in: Atom