Revision 6f7d4e75 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
1414 | 1414 |
result = self.rpc.call_upload_file(node_list, |
1415 | 1415 |
constants.SSH_KNOWN_HOSTS_FILE) |
1416 | 1416 |
for to_node, to_result in result.iteritems(): |
1417 |
msg = to_result.fail_msg
|
|
1418 |
if msg:
|
|
1419 |
msg = ("Copy of file %s to node %s failed: %s" %
|
|
1420 |
(constants.SSH_KNOWN_HOSTS_FILE, to_node, msg))
|
|
1421 |
self.proc.LogWarning(msg)
|
|
1417 |
msg = to_result.fail_msg |
|
1418 |
if msg: |
|
1419 |
msg = ("Copy of file %s to node %s failed: %s" % |
|
1420 |
(constants.SSH_KNOWN_HOSTS_FILE, to_node, msg)) |
|
1421 |
self.proc.LogWarning(msg) |
|
1422 | 1422 |
|
1423 | 1423 |
finally: |
1424 | 1424 |
result = self.rpc.call_node_start_master(master, False) |
... | ... | |
1630 | 1630 |
if os.path.exists(fname): |
1631 | 1631 |
result = lu.rpc.call_upload_file(dist_nodes, fname) |
1632 | 1632 |
for to_node, to_result in result.items(): |
1633 |
msg = to_result.fail_msg
|
|
1634 |
if msg:
|
|
1635 |
msg = ("Copy of file %s to node %s failed: %s" %
|
|
1636 |
(fname, to_node, msg))
|
|
1637 |
lu.proc.LogWarning(msg)
|
|
1633 |
msg = to_result.fail_msg |
|
1634 |
if msg: |
|
1635 |
msg = ("Copy of file %s to node %s failed: %s" % |
|
1636 |
(fname, to_node, msg)) |
|
1637 |
lu.proc.LogWarning(msg) |
|
1638 | 1638 |
|
1639 | 1639 |
|
1640 | 1640 |
class LURedistributeConfig(NoHooksLU): |
Also available in: Unified diff