Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ 5d2cbf27

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 141.4 kB
instance_migration.py 36 kB
instance_operation.py 17.7 kB
instance_query.py 15 kB
instance_storage.py 93.5 kB
instance_utils.py 20 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
5d2cbf27 12/11/2013 02:54 pm Dimitris Aragiorgis

(ext) Export logical_id info to hooks env

DISK_ID as the second part of logical_id

Signed-off-by: Dimitris Aragiorgis <>

d2e0774d 12/11/2013 02:54 pm Dimitris Aragiorgis

(snap) 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 <>

fc01b92b 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) 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."...

03b3659a 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) 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...

5a3b0421 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) 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...

254d4709 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) Check if hotplug is supported in CheckPrereq

Introduce new RPC hotplug_supported that invokes the corresponding
hypervisor's method which checks if hotplug is generally
supported. Call this RPC early in CheckPrereq() and abort if
hotplug is not supported. Currently only KVM hypervisor with...

bbafd35f 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) Minor changes regarding hotplug support

  • Mention restrictions in NEWS
    - RBD userspace access mode
    - In case of a downgrade instances should suffer a reboot to be migrateable
  • Bypass interactive verification in NIC modifications via --force option...
1e79d5de 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) Fix in RPC

Use _SingleDiskDictDP() instead of _ObjectDict() for serializing
a disk.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>
Reviewed-by: Thomas Thrainer <>

In stable-2.10 rpc methods take node as first argument....

99452998 12/11/2013 02:53 pm Dimitris Aragiorgis

(2.10) Hotplug: cmdlib support

Hotplugging is done by functions invoked by ApplyContainerMods(). In
order hotplugging to take place the --hotplug option must be passed
otherwise the modifications will take place after reboot.

NIC hotplug supports add, remove and modify. The modify is done by removing...

8bb35ebf 12/11/2013 02:53 pm Dimitris Aragiorgis

(fix) SetDiskID() before blockdev_assemble()

Before blockdev_assemble we call SetDiskID() in order to fill up
physical_id of disk needed by bdev.Assemble and eventually by
constructor of each BlockDev.

This is not needed in 2.10 since physical_id has become deprecated....

View revisions

Also available in: Atom