Fix adding nodes after commit 64c7b3831dc
authorMichael Hanselmann <hansmi@google.com>
Mon, 3 Oct 2011 10:04:09 +0000 (12:04 +0200)
committerMichael Hanselmann <hansmi@google.com>
Mon, 3 Oct 2011 10:52:44 +0000 (12:52 +0200)
Commit 64c7b3831dc changed the RPC call for verifying SSH connections.
Unfortunately this case in adding nodes was missed.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/cmdlib.py

index 25113bd..ba065b3 100644 (file)
@@ -5060,7 +5060,7 @@ class LUNodeAdd(LogicalUnit):
 
     node_verify_list = [self.cfg.GetMasterNode()]
     node_verify_param = {
-      constants.NV_NODELIST: [node],
+      constants.NV_NODELIST: ([node], {}),
       # TODO: do a node-net-test as well?
     }