Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib.py @ 66e884e1

History | View | Annotate | Download (399.8 kB)

# Date Author Comment
4fe5cf90 12/08/2010 02:27 pm Adeodato Simo

Group operations: OpCode and LU for renaming a group

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

94bd652a 12/08/2010 02:27 pm Adeodato Simo

Group operations: OpCode and LU for removing a group

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

b1ee5610 12/08/2010 02:27 pm Adeodato Simo

Group operations: OpCode and LU for adding a group

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

4edc512c 12/08/2010 02:27 pm Adeodato Simo

Expose new node group attributes in CLI and RAPI

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

445f735d 12/07/2010 04:51 pm René Nussbaumer

Adding new Logical Unit for OOB

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

1698503a 12/06/2010 11:22 pm Michael Hanselmann

cmdlib: Don't sort list of nodes if names are given

This makes _GetWantedNodes consistent wit _GetWantedInstances.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Adeodato Simo <>

84d7e26b 12/02/2010 03:46 pm Dmitry Chernyak

Make rpc.call_lv_list() VG-aware

Changes to backend.GetVolumeList():
- now accepts a list of VGs instead of one VG
- returns LV names in the form "vg_name/lv_name"

Corresponding changes are done in: VerifyDisks, VerifyNode,
LUCreateInstance (for both disk creation and adoption cases)...

d1b6262e 12/02/2010 03:32 pm Adeodato Simo

cmdlib: fix typos in the docstring for LogicalUnit

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

70a6a926 12/01/2010 09:31 pm Adeodato Simo

Querying node groups: LU/Opcode

This adds opcodes.OpQueryGroups and cmdlib.LUQueryGroups.

Signed-off-by: Adeodato Simo <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

982ed68e 11/30/2010 05:04 pm Adeodato Simo

Trivial style fixes

Add missing closing brackets and fix a typo.

Signed-off-by: Adeodato Simo <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

aba8e78d 11/29/2010 10:00 pm Michael Hanselmann

cmdlib: Add base for query classes

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

72a84c96 11/29/2010 10:00 pm Michael Hanselmann

LUQueryNodes: Convert to new query model

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

83f72637 11/29/2010 10:00 pm Michael Hanselmann

Add OpQuery opcode

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

dae91d02 11/29/2010 05:05 pm Michael Hanselmann

Increase timeout for connection on remote import

The source cluster has to shut down an instance before it can be
exported. Doing so can take a while, but the default connection timeout
is only 60 seconds. Adding the shutdown timeout on the receiving cluster...

ba5619c2 11/29/2010 05:05 pm Michael Hanselmann

Use IPv6 for import/export

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

0b5303da 11/28/2010 03:57 pm Iustin Pop

Move compilation of some regexes to init time

I have found a few regexes which are static and thus can be moved to
load time, rather than run time, creation.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

cb6a0296 11/26/2010 09:39 pm Iustin Pop

RPC call_node_info: change protocol

Currently, the call_node_info RPC does always check both the VG free
space and the hypervisor information. However, in ⅔ of the uses, we only
care about one or the other. Therefore, we change it so that if any of
the passed parameters is None, we don't perform the respective check. We...

88a32957 11/26/2010 06:36 pm Iustin Pop

Cluster rename: skip offline nodes

This only tries to upload the ssh_known_hosts_file to the online nodes,
eliminating a timeout and warning for offline nodes.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

f6ffab5a 11/26/2010 11:05 am René Nussbaumer

Fix missed CheckArguments on ndparams for SetNodeParams

In the previous patch where I modified LUSetNodeParams to take ndparams
into account I missed this additional check of parameters in the Logical
Unit. This patch adds ndparams to the recognized parameter lists which...

38156f68 11/25/2010 06:00 pm Iustin Pop

Fix per-vg checks in instance disk conversion

Since we now have just two possibilities (plaint to drbd or drbd to
plain), we can assume (+an assert) that we come from LVM and access
directly logical_id0 for the VG on which it is stored.

Signed-off-by: Iustin Pop <>...

6180d6bb 11/25/2010 01:45 pm Dmitry Chernyak

Removed _CheckNodesFreeDisk function

Was substituted by _CheckNodesFreeDiskPerVG.

Signed-off-by: Dmitry Chernyak <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

03941a26 11/25/2010 01:41 pm Dmitry Chernyak

Make instance creation VG-aware

Also should work disk growing, instance moving and prerequisite checks.

Signed-off-by: Dmitry Chernyak <>
[: small style fixes]
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

10e2de91 11/25/2010 01:28 pm Dmitry Chernyak

Introduced VG-aware disk space checks

Implemented _CheckNodesFreeDiskPerVG and _ComputeDiskSizePerVG functions
for VG-aware iterations.

Signed-off-by: Dmitry Chernyak <>
[: some style fixes (long lines, etc.)]
Signed-off-by: Iustin Pop <>...

08a61d91 11/24/2010 05:18 pm René Nussbaumer

Adding ndparams to their OpCodes and LU calls

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

18e63b75 11/23/2010 11:04 pm Michael Hanselmann

cmdlib: Use _POutputFields where possible

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

c300f9c9 11/23/2010 02:33 pm Dmitry Chernyak

Basic stuff to allocate disks on different VGs

Extend allocation functions to be aware of different vg names. Suppose,
vg_name is helded in disk.physical_id0 (already was) LUCreateInstance
is modified to be aware of new "vg" argument of the disk specification....

972a114f 11/19/2010 06:26 pm Iustin Pop

Merge branch 'devel-2.3'

  • devel-2.3:
    Updates NEWS and configure.ac for 2.3.0~rc1
    Update NEWS & configure.ac for the 2.2.2 release
    Fix documentation regarding conversion to drbd
    Fix documentation regarding conversion to drbd
    Reinstall instance: disallow offline secondaries...
9aacb199 11/18/2010 03:03 pm Iustin Pop

Reinstall instance: disallow offline secondaries

Currently, reinstallation of a DRBD instance with the secondary node offline does:

node1# gnt-instance reinstall -f instance1
Waiting for job 139053 for instance1...
Thu Nov 18 01:36:09 2010 - WARNING: Could not prepare block device disk/0 on node node3 (is_primary=False, pass=1): Node is marked offline...

e2334900 11/18/2010 03:03 pm Iustin Pop

Fix breakage in OS state modify

I was using the feedback_fn function incorrectly (it doesn't
automatically expand the arguments).

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

86c340af 11/17/2010 05:45 pm Iustin Pop

Merge branch 'devel-2.2' into devel-2.3

  • devel-2.2:
    QA: add tests for gnt-cluster modify -B
    LUSetClusterParms: fix validation of beparams

Conflicts:
lib/cmdlib.py (reverted & applied manually the change)

Signed-off-by: Iustin Pop <>...

52b783c2 11/17/2010 02:14 pm Iustin Pop

LUSetClusterParms: fix validation of beparams

Since the contents of the dict is validated via the ForceDictType, we can
simply require that it is a dict here. The previous check was wrong, as it was
copied from the HV checks (which also doesn't verify the leaf dict type)....

c70e1a9f 11/11/2010 02:18 pm Iustin Pop

Add group, group.uuid fields in node list

This is needed to at least see the current group configuration.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

c6a9dffa 11/03/2010 04:44 pm Michael Hanselmann

Fix disk checks in “gnt-cluster verify”

Tests have shown that the changes in commit b8d26c6e5 don't work as
wanted. If any disk wasn't found on the node, all disks located on the
same node would show as faulty. The cause was incorrect exception
handling on the node....

3c34f03f 11/01/2010 07:27 pm Guido Trotter

Remove private ip mention in error message

There is no "private" ip in Ganeti, we only have primary and secondary
ones. Whether they are public or private is a per-installation detail.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

4d32c211 11/01/2010 07:27 pm Guido Trotter

Add -s option to gnt-node modify

We can now change a nodes' secondary ip.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

3b01286e 10/28/2010 07:56 pm Michael Hanselmann

LUExportInstance: Accept instance already shut down

To remove the instance after an export it needs to be stopped. This can
be achived using the parameter “shutdown”, or by explicitly shutting
down the instance before exporting. The latter would still require the...

add6d208 10/28/2010 03:50 pm Iustin Pop

Prevent onlining a node without working noded

This is just a basic check, plus a warning. In the future, we might do
more checks, or prevent simple onlining (without readd) if --force is
not passed.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

4ca52046 10/28/2010 03:49 pm Iustin Pop

Yet another rework in LUSetNodeParms

We will need the new role in CheckPrereq, so move its computation there
and save the new role to self.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

877b849b 10/28/2010 02:51 pm Iustin Pop

Prevent moving/creating instances on non-vm nodes

This small patch modifies LUCreateInstance, LUReplaceDisks and
LUMoveInstance to not use non-vm_capable nodes.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

077114cd 10/28/2010 02:51 pm Iustin Pop

Add vm_capable to LUSetNodeParams

And also do some cleanup: we only run the role changed actions if the
node has actually changed roles.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

8964ee14 10/28/2010 02:51 pm Iustin Pop

Add support for vm_capable in cluster verify

The method to make vm_capable integrate easily into cluster verify is as follows:

- we add a new NV_VMNODES that represents nonvm-capable nodes
the LU populates this list (it's expected that non-vm_capable nodes...

4e2d3d25 10/28/2010 02:51 pm Iustin Pop

Add an UploadHelper to cmdlib

This is used in two places already, and will be needed in a third, so
let's abstract it.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

77bad5b2 10/28/2010 02:51 pm Iustin Pop

Add support for vm_capable in file distribution

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

fd3d37b6 10/28/2010 02:51 pm Iustin Pop

Add the master/vm_capable flags in node add

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

614e7e26 10/28/2010 02:51 pm Iustin Pop

Add a CheckNodeVmCapable helper in cmdlib

Also changes the error code for the other CheckNode* helpers to
ECODE_STATE, not ECODE_INVAL: ECODE_INVAL is for requests that are
invalid (e.g. create drbd instance with one node), whereas ECODE_STATE
denote requests that are not satisfiable due to cluster/node/instance...

b8d26c6e 10/28/2010 02:34 pm Michael Hanselmann

LUClusterVerify: Complain if disk is marked faulty

This will show a warning if, for example, one side of a DRBD
disk becomes unavailable. The data is collected separately
from the other verification data.

Example output:

  • Verifying instance status
    - ERROR: instance inst1: disk/0 on node2 is faulty...
197e3bb2 10/27/2010 01:46 pm Iustin Pop

Implement the master_capable flag in node modify

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

c190e817 10/27/2010 01:46 pm Iustin Pop

Export the capability flags in query, rapi, ialloc

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

490acd18 10/27/2010 01:46 pm Iustin Pop

Add the master/vm_capable flags to objects

This adds the flag and some initial handling. The rest of the changes,
for cmdlib, come in a separate patch.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

21232d04 10/27/2010 01:44 pm Iustin Pop

Rework node role changes

There have been many bugs in gnt-node modify. Let's try to introduce
some more.

This patch reworks the node role changes from tracking the flag changes
to completely overwriting the flags based on the new role. This paves
the way for (in 2.4 or later) moving to a single attribute for nodes....

b30aded7 10/26/2010 03:38 pm Michael Hanselmann

Merge branch 'devel-2.2'

  • devel-2.2:
    Allow remote imports without checked names
    ConfigWriter: Fix typo in error message parts
    Fix remote imports

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

3f2ad566 10/26/2010 03:25 pm Michael Hanselmann

Allow remote imports without checked names

By default all names are checked (LUCreateInstance, name_check). In some
cases it can be useful to disable this check, but doing so was not
allowed for remote imports. One should be aware, however, that using
this feature can lead to rename script failures when importing a remote...

b883637f 10/26/2010 02:36 pm René Nussbaumer

Support modify of prealloc_wipe_disks config value

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

1116c3b2 10/26/2010 12:48 pm Iustin Pop

Export a node's group information in iallocator

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

f936c153 10/26/2010 12:48 pm Iustin Pop

Rename node.nodegroup to node.group

In the context of a node, its group has (at least today) only one
meaning, that is the node's node group. As such, we rename
node.nodegroup to just node.group.

Note: if we want to keep node in there, it should be at least...

622444e5 10/26/2010 12:47 pm Iustin Pop

Export node group data in iallocator

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

acd34ea7 10/26/2010 12:47 pm Iustin Pop

Split IAllocator._ComputeClusterData

The node and instance computations were all in this big function; we
separate them out for more clarity.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

a03fcb26 10/26/2010 12:13 pm René Nussbaumer

Putting the pieces together and invoke the wipe in cmdlib

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

574d1b7b 10/22/2010 03:19 pm Michael Hanselmann

LUSetInstanceParams: Remove unused attribute

“os_new” is not used anywhere, removing it.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

c6e85811 10/22/2010 11:42 am Iustin Pop

Fix remote imports

A simple typo…

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

edb8b377 10/22/2010 11:41 am Iustin Pop

Fix typo introduced in 8d8c4ef

Commit 8d8c4ef broke instance reinstall with different OS, due to an
attribute typo.

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

e725bee0 10/21/2010 02:17 pm Iustin Pop

Fix clearing of the default iallocator

And also update the man page.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

8d8c4eff 10/21/2010 12:57 pm Michael Hanselmann

gnt-instance reinstall: Allow overriding OS parameters

This allows OS installation scripts to make use of special parameters,
e.g. to retain some data on reinstallation.

The RAPI resource is not updated as it takes all parameters via the
query string and encoding arbitrary data in a query string is tricky....

b44bd844 10/20/2010 07:18 pm Michael Hanselmann

Add option to ignore offline node on instance start/stop

In some cases it can be useful to mark as an instance as started
or stopped while its primary node is offline. With this patch,
a new option, “--ignore-offline”, is introduced to “gnt-instance
start” and “… stop”....

b18ecea2 10/19/2010 05:29 pm René Nussbaumer

Let gnt-cluster support prealloc_wipe_disks

This includes a new option gnt-cluster init and approriate output
on gnt-cluster info. Though gnt-cluster modify is not yet prepared.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

62e0e880 10/13/2010 02:44 pm Iustin Pop

Move the parameter types to their own module

This is for cleanup, and for later reuse in other parts of the code
(outside of LUs).

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

90224407 10/13/2010 12:59 pm Iustin Pop

Export more information via LUQueryInstances/RAPI

Currently, the custom instance parameters (hv, be, nicp) are only
queryable via LUQueryInstanceData. LUQueryInstance returns only the
filled parameters, thus its users (especially RAPI) have no way to know...

bd631b02 10/12/2010 06:25 pm Iustin Pop

Show instance state in instance console failures

The current message is not entirely clear, as it doesn't show the reason
why the instance is not running.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

72884fef 10/05/2010 06:08 pm Michael Hanselmann

Merge branch 'devel-2.2'

  • devel-2.2:
    Add simple unittest for utils.CommaJoin
    LUDelTags: Improve formatting of error message
    LUGetTags: Acquire locks in shared mode
    gnt-cluster: Replace hardcoded “xenvg” with value retrieved from master
    Export VG name via LUQueryConfigValues...
9fc58eac 10/05/2010 05:59 pm Michael Hanselmann

Export VG name via LUQueryConfigValues

This will be used by LUXI client programs to display the VG name.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

60db9336 10/05/2010 05:59 pm Michael Hanselmann

LUGetTags: Acquire locks in shared mode

Retrieving tags can be done while the lock is shared. Only writing
needs to be exclusive.

Also add a FIXME for cluster tags, where the code currently doesn't
use any locks except the config lock.

Signed-off-by: Michael Hanselmann <>...

91c69b44 10/05/2010 05:59 pm Michael Hanselmann

LUDelTags: Improve formatting of error message

Use utils.CommaJoin to add spaces after comma, clean up code a bit.

Before: Tag(s) 'bar','baz','foo','moo' not found
After: Tag(s) 'bar', 'baz', 'foo', 'moo' not found

Signed-off-by: Michael Hanselmann <>...

cf10a26f 10/05/2010 12:23 pm Iustin Pop

Merge branch 'devel-2.2'

  • devel-2.2:
    Rename the _oss cluster vars to _os

Conflicts:
lib/objects.py (trivial, strange that this one, and only this one, conflicted)

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

87b2cd45 10/05/2010 12:11 pm Iustin Pop

Rename the _oss cluster vars to _os

Per the mailing list discussion, rename _oss to _os, both in cluster parameters
and in the rest of the code.

This is just an s/_oss/_os, with the exception of a small bit of cleanup
around the helper_os function in cmdlib.py....

df5758b1 10/05/2010 12:11 pm Iustin Pop

Merge branch 'devel-2.2'

  • devel-2.2:
    gnt-job info: Sort input fields
    KVM: Add function to check the hypervisor version
    Bump version to 2.2.0, update NEWS
    Fix instance rename regression from 3fe11ba3
    Fix instance rename regression from 3fe11ba3...
e964cc85 09/30/2010 08:23 pm Iustin Pop

Fix instance rename regression from 3fe11ba3

Committ 3fe11ba3 broke the instance rename as we don't use the FQDN
anymore. This fixes it.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

21674464 09/30/2010 03:10 am Iustin Pop

Sort OS names and variants in LUDiagnoseOS

The OS list and variants as returned from LUDiagnoseOS is not sorted,
and gnt-instance reinstall doesn't sort it either. This means that it
the menu that users are present with is inconsistent across clusters,
and that is confusing....

d22dfef7 09/30/2010 03:10 am Iustin Pop

Change behaviour of OpDiagnoseOS w.r.t. 'valid'

This patch changes the behaviour of OpDiagnoseOS with regards to the
'valid' field to be similar to the one for the hidden/blacklisted
fields: unless this field is requested, invalid OSes are filtered out.
...

61a14bb3 09/30/2010 03:10 am Iustin Pop

Allow gnt-os modify to change the new OS params

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

cd14c16c 09/30/2010 03:10 am Iustin Pop

Add two more _T-type tests

These are useful for more in-depth checking of some kinds of arguments.

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

c950e9f2 09/30/2010 03:10 am Iustin Pop

Add blacklisted/hidden OS support in LUDiagnoseOS

This changes the behaviour of LUDiagnoseOS significantly.

The addition of hidden/blacklisted OSes would mean that each user-facing
client would have to filter intentionally such OSes from display, which
is not a good choice. Rather, the patch makes LUDiagnoseOS not return...

fc31fadd 09/30/2010 03:10 am Iustin Pop

Restrict blacklisted OSes in instance installation

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

870dc44c 09/30/2010 03:09 am Iustin Pop

Abstract OS name/variant functions

Currently, the computation of the 'pure' name or the variant is
hardcoded and spread around the functions that need it. This is not
nice, and in the future we'd spread it even more with more usage of
variants/pure os names....

f0ca837f 09/20/2010 04:14 pm René Nussbaumer

Ignore failures while shutting down instances during failover from offline node

Don't abort failover if instance shutdown doesn't work on a node marked
offline. The node is offline, so the instances living on it are too. Before
you had to use --ignore-consistency to archieve that....

2bc27b91 09/16/2010 01:56 pm Michael Hanselmann

Merge branch 'devel-2.2'

  • devel-2.2:
    QA: Test more tag operations via RAPI
    qa_rapi: Fix indentation error
    opcode summary: improve display for list summaries
    cmdlib: Fix type of “name” parameter for tag operations
    rlib2: Set tag operation param “name” to None for cluster tags...
bf2ace9f 09/15/2010 10:48 pm Michael Hanselmann

cmdlib: Fix type of “name” parameter for tag operations

The parameter “name” is be None for cluster tags.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

5fbbd028 09/14/2010 07:49 pm Guido Trotter

Add nodegroup option to AddNode

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

190e3cb6 09/14/2010 07:49 pm Guido Trotter

Add node's nodegroup field

If a node doesn't have a node group we'll upgrade the config making it
the cluster default. Also the node add and removal operations are
changed to set/clear the node group correctly. Finally we populate the
"members" list of nodegroups on config load with the value from the...

ae8419a2 09/07/2010 01:07 pm Michael Hanselmann

Merge branch 'devel-2.2'

  • devel-2.2:
    cli: Use list of options shared between commands
    jqueue: Use separate function for encoding errors
    Fix some epydoc warnings
    Fix breakage introduced by commit 8044bf655
    Remove “dry_run” from opcodes.OpCreateInstance...
bd2475e2 09/02/2010 07:43 pm Michael Hanselmann

Fix breakage introduced by commit 8044bf655

Note to self: even patches removing one line can break everything.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Manuel Franceschini <>

ea8ac9c9 08/23/2010 03:40 pm René Nussbaumer

Switch to the RPC call to update /etc/hosts in LUAddNode and LURemoveNode

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

8f9069e5 08/23/2010 01:39 pm Iustin Pop

Merge branch 'devel-2.2'

  • devel-2.2:
    setup-ssh: fix updating of authorized_keys
    setup-ssh: Also use keys from the ssh-agent
    setup-ssh: try to use key auth first
    setup-ssh: redo the logging levels
    setup-ssh: only read the ssh port once
    setup-ssh: fix the logging error message...
51b13ce9 08/23/2010 01:31 pm Manuel Franceschini

Support IPv6 for instances

Signed-off-by: Manuel Franceschini <>
Reviewed-by: Iustin Pop <>

7c4c22f5 08/20/2010 04:12 pm Manuel Franceschini

gnt-node add: add error msg when using IPv6

Signed-off-by: Manuel Franceschini <>
Reviewed-by: Michael Hanselmann <>

29eddf2d 08/19/2010 05:02 pm Guido Trotter

Merge branch 'devel-2.1' into devel-2.2

  • devel-2.1:
    Don't ignore secondary node silently

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

af5970ab 08/19/2010 04:55 pm Guido Trotter

Don't ignore secondary node silently

Currently on non-mirrored disk templates the secondary node is ignored
silently. This patch adds a check for this case, and warns the user
should this be happening. This solves issue 113.

The patch also moves a prereq check to an argument check. This is ok...

e8d61457 08/19/2010 03:12 pm René Nussbaumer

Removing all ssh setup code from the core

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

b43dcc5a 08/19/2010 12:44 pm Manuel Franceschini

Support IPv6 node add

Signed-off-by: Manuel Franceschini <>
Reviewed-by: Iustin Pop <>

e7323b5e 08/19/2010 12:44 pm Manuel Franceschini

Support IPv6 cluster init

Signed-off-by: Manuel Franceschini <>
Reviewed-by: Iustin Pop <>

0f979a34 08/18/2010 07:59 pm Guido Trotter

Merge branch 'devel-2.2'

  • devel-2.2:
    RAPI client: Support modifying instances
    RAPI: Allow modifying instance
    Small fixes for instance creation via RAPI documentation
    gnt-debug: Extend job queue tests
    jqueue: Mark opcodes following failed ones as failed, too...