Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ 933147e3

Name Size
__init__.py 3.8 kB
backup.py 18.9 kB
base.py 19.1 kB
cluster.py 123.9 kB
common.py 43.6 kB
group.py 36.1 kB
instance.py 151.8 kB
instance_migration.py 38.4 kB
instance_operation.py 16.7 kB
instance_query.py 17.1 kB
instance_storage.py 99.7 kB
instance_utils.py 19.8 kB
misc.py 14.7 kB
network.py 22.6 kB
node.py 60.8 kB
operating_system.py 6.8 kB
query.py 3.4 kB
tags.py 6.9 kB
test.py 12.4 kB

Latest revisions

# Date Author Comment
933147e3 12/11/2014 12:54 pm Ilias Tsitsimpis

(2.13) Pass the access parameter to ExtStorage template

Add the ExtStorage template to the set of templates that accept the
'access' parameter. The default 'access' of the node-group for
ExtStorage devices will be 'kernelspace'.

Update the man page for gnt-instance to state that ExtStorage templates...

a34f2caf 12/11/2014 12:54 pm Ilias Tsitsimpis

(2.13) Handle IDISK_ACCESS parameter in ComputeDisks

The IDISK_ACCESS disk parameter was not handled in the 'ComputeDisks'
function, thus the 'access' parameter was ignored during the instance
creation. This patch fixes this and also fixes a typo in
'_VerifyDiskModification'....

8e56ecfb 12/11/2014 12:54 pm Ilias Tsitsimpis

(2.13) Make 'access' an optional disk parameter

This patch makes 'access' an optional disk parameter just like
spindles, mode, name, vg and metavg. This option can only be set to
'kernelspace' or 'userspace'. When 'userspace' is used, the instance
will access this disk directly without going through a block device....

1fdfe8d1 12/11/2014 12:53 pm Dimitris Aragiorgis

(2.8r) 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.

NOTE: This workaround is not merged upstream. They prefer to have...

a8f2733b 09/25/2014 05:53 pm Dimitris Aragiorgis

Fix DRBD version check for non VM capable nodes

Commit 742dc8de revealed a bug concerning DRBD version check during
cluster verify: In case non VM cabables nodes have DRBD not
installed, we get a version mismatch warning.

VerifyNode() updates the NV_DRBDVERSION key in the response message...

29625e5a 09/25/2014 11:27 am Helga Velroyen

Renaming NV_VMNODES to NV_NONVMNODES

This patch renames the constant 'NV_VMNODES' to
'NV_NONVMNODES' as it is actually used to store
a list of non vm-capable nodes.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Hrvoje Ribicic <>

742dc8de 09/25/2014 11:26 am Helga Velroyen

Node names in NV_VMNODES

This patch populates the list 'NV_VMNODES' with node
names and not node UUIDs, as the backend only uses this
list to identify VM-capable nodes by querying for the
node name.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Hrvoje Ribicic <>

fe42a791 09/12/2014 10:59 am Klaus Aehlig

Update the license statement

It was decided that Ganeti is relicensed under the 2-clause
BSD license. Update the license statements accordingly (issue #936).

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

b0a383aa 09/11/2014 01:55 am Dimitris Aragiorgis

Fix handling of the --online option

From the man page, the --online option is supposed to mark an
instance down only if it is already offline. Otherwise it should
fail. With this patch we avoid undesired transitions to ADMIN_down
state while the instance is already up and running....

733880a6 08/19/2014 04:04 pm Dimitris Aragiorgis

Fix network info in case of multi NIC instances

Network query mechanism fills inst_list field with the list of
instances that are connected to the corresponding network.
Fix the case of multi NIC instances where the NIC scan stopped
once a matching network was found....

View revisions

Also available in: Atom