Commit f60759f7 authored by Iustin Pop's avatar Iustin Pop
Browse files

Replace last hardcoded 'nodelist' with NV_NODELIST

LUAddNode has this usage remaining, as it's the only other LU to use
call_node_verify (beside LUVerifyCluster).
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 33f2a81a
......@@ -2822,7 +2822,7 @@ class LUAddNode(LogicalUnit):
node_verify_list = [self.cfg.GetMasterNode()]
node_verify_param = {
'nodelist': [node],
constants.NV_NODELIST: [node],
# TODO: do a node-net-test as well?
......@@ -2830,7 +2830,7 @@ class LUAddNode(LogicalUnit):
for verifier in node_verify_list:
result[verifier].Raise("Cannot communicate with node %s" % verifier)
nl_payload = result[verifier].payload['nodelist']
nl_payload = result[verifier].payload[constants.NV_NODELIST]
if nl_payload:
for failed in nl_payload:
feedback_fn("ssh/hostname verification failed %s -> %s" %
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment