Revision 6b294c53 lib/config.py
b/lib/config.py | ||
---|---|---|
820 | 820 |
nodelist.remove(myhostname) |
821 | 821 |
except ValueError: |
822 | 822 |
pass |
823 |
|
|
824 |
result = rpc.RpcRunner.call_upload_file(nodelist, self._cfg_file) |
|
823 |
# we can skip checking whether _UnlockedGetNodeInfo returns None |
|
824 |
# since the node list comes from _UnlocketGetNodeList, and we are |
|
825 |
# called with the lock held, so no modifications should take place |
|
826 |
# in between |
|
827 |
address_list = [self._UnlockedGetNodeInfo(name).primary_ip |
|
828 |
for name in nodelist] |
|
829 |
|
|
830 |
result = rpc.RpcRunner.call_upload_file(nodelist, self._cfg_file, |
|
831 |
address_list=address_list) |
|
825 | 832 |
for node in nodelist: |
826 | 833 |
if not result[node]: |
827 | 834 |
logging.error("copy of file %s to node %s failed", |
Also available in: Unified diff