Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ 7d81bb8b

Name Size
__init__.py 3.2 kB
backup.py 18.4 kB
base.py 18.5 kB
cluster.py 123.3 kB
common.py 43.1 kB
group.py 35.5 kB
instance.py 151 kB
instance_migration.py 37.8 kB
instance_operation.py 18.1 kB
instance_query.py 16.5 kB
instance_storage.py 99.2 kB
instance_utils.py 19.2 kB
misc.py 14.1 kB
network.py 21.5 kB
node.py 60.3 kB
operating_system.py 6.2 kB
query.py 2.8 kB
tags.py 6.4 kB
test.py 11.8 kB

Latest revisions

# Date Author Comment
7d81bb8b 05/29/2014 02:07 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 <>

8e4aacdc 05/29/2014 02:07 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...

6c6b4df2 05/29/2014 02:07 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'....

4f3bdf5a 05/29/2014 02:07 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....

a2f9ee87 05/29/2014 02:07 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...

4922cd73 05/28/2014 06:20 pm Jose A. Lopes

'Raise' called inside 'CheckPrereq' needs the prereq kw

This patch fixes the missing 'prereq' keyword in calls to 'Raise' in
the control flow of 'CheckPrereq', and updates the tests.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

96092119 05/23/2014 01:45 pm Dimitris Aragiorgis

Fix QueryNetworks wrt instances

QueryNetworks tries to find which instances are connected to which
networks. The query mechanism in Haskell was written back when NICs
referred to a network via its name and not its UUID. Fix luxi to
comply with the current implementation (network slot of NIC object...

876fb142 05/22/2014 11:13 am Helga Velroyen

Convert all the classes to new-style classes

... to make lint shut up.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Jose Lopes <>

aa112e9f 05/20/2014 01:59 pm Thomas Thrainer

Add --no-locks option to gnt-debug delay

Add the possibility to don't acquire locks during `gnt-debug delay`.
This allows to run many delay jobs in parallel instead of having
them run sequentially.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>...

d0cd1368 05/19/2014 01:53 pm Klaus Aehlig

Support group evacuation by failover

Support evacuating a node group not using migration.
This can be useful if the group evacuated to has different
hardware.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Thomas Thrainer <>

View revisions

Also available in: Atom