Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ e1d83b06

Name Size
__init__.py 3.2 kB
backup.py 18 kB
base.py 17.5 kB
cluster.py 105 kB
common.py 34.8 kB
group.py 31.5 kB
instance.py 141.8 kB
instance_migration.py 36.1 kB
instance_operation.py 17.7 kB
instance_query.py 15 kB
instance_storage.py 93.5 kB
instance_utils.py 20.5 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 6.2 kB
test.py 12.2 kB

Latest revisions

# Date Author Comment
e1d83b06 03/20/2014 12:50 pm Klaus Aehlig

(2.9) Gracefully handle degraded instances in verification

The current code assumes that every instance either is of type
diskless or has at least one disk. However, with the option to
remove individual disk degraded 0-disk non-diskless instances
can occur. While such instances usually are not useful, Ganeti...

e73b8a1a 03/20/2014 12:50 pm Klaus Aehlig

(2.9) Be aware of the degraded case when cleaning up an instance

In the case of a degraded file-based instance, the file storage directory
for that instance cannot be obtained by looking at the first disk. Use
the standard location, computed from first principles, in this case....

e9bf90bd 03/20/2014 12:50 pm Ilias Tsitsimpis

(2.9) Assign unique filenames to filebased disks

With the new format for cmdline arguments, the user is able to add a
disk to an instance at a specific index. But filebased disks' filenames
have the form "{0}/disk{1}" where '{0}' is the file_storage_dir and...

77e96fb8 03/20/2014 12:50 pm Dimitris Aragiorgis

(2.10) Include target node in hooks nodes for migration

In case of DRBD, hooks run on both primary (source) and secondary
(target) nodes. To get the same behavior for DTS_EXT_MIRROR, where we
do not have secondary node, we should explicitly add target node to...

b7923b51 03/20/2014 12:50 pm Dimitris Aragiorgis

(ipfix) Allow NICs with mode=routed and ip=none

This allows us to define an IPv6 only network (currently with a
dummy IPv4 network) with connectivity mode 'routed' and let
the NICs inside this network have only IPv6 address (auto-generated
from their MAC and the network's prefix)....

3068a714 03/20/2014 12:50 pm Dimitris Aragiorgis

(ext) Do not remove disks if --keep-disks and DT_EXT

Signed-off-by: Dimitris Aragiorgis <>

8f65655b 03/20/2014 12:50 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 <>

18065956 03/20/2014 12:50 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 <>

78315736 03/20/2014 12:49 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."...

6332b7f2 03/20/2014 12:49 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...

View revisions

Also available in: Atom