Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ d43a4dd9

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 150.8 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 21.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
d43a4dd9 05/29/2014 02:08 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)....

f665d9de 05/29/2014 02:08 pm Dimitris Aragiorgis

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

Signed-off-by: Dimitris Aragiorgis <>

dc80cc40 05/29/2014 02:08 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 <>

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...

View revisions

Also available in: Atom