Revision f60759f7
b/lib/cmdlib.py | ||
---|---|---|
2822 | 2822 |
|
2823 | 2823 |
node_verify_list = [self.cfg.GetMasterNode()] |
2824 | 2824 |
node_verify_param = { |
2825 |
'nodelist': [node],
|
|
2825 |
constants.NV_NODELIST: [node],
|
|
2826 | 2826 |
# TODO: do a node-net-test as well? |
2827 | 2827 |
} |
2828 | 2828 |
|
... | ... | |
2830 | 2830 |
self.cfg.GetClusterName()) |
2831 | 2831 |
for verifier in node_verify_list: |
2832 | 2832 |
result[verifier].Raise("Cannot communicate with node %s" % verifier) |
2833 |
nl_payload = result[verifier].payload['nodelist']
|
|
2833 |
nl_payload = result[verifier].payload[constants.NV_NODELIST]
|
|
2834 | 2834 |
if nl_payload: |
2835 | 2835 |
for failed in nl_payload: |
2836 | 2836 |
feedback_fn("ssh/hostname verification failed %s -> %s" % |
Also available in: Unified diff