Revision e1e75d00
b/lib/backend.py | ||
---|---|---|
1485 | 1485 |
|
1486 | 1486 |
""" |
1487 | 1487 |
ssconf.SimpleStore().WriteFiles(values) |
1488 |
return True, None |
|
1488 | 1489 |
|
1489 | 1490 |
|
1490 | 1491 |
def _ErrnoOrStr(err): |
b/lib/config.py | ||
---|---|---|
1106 | 1106 |
# Write ssconf files on all nodes (including locally) |
1107 | 1107 |
if self._last_cluster_serial < self._config_data.cluster.serial_no: |
1108 | 1108 |
if not self._offline: |
1109 |
rpc.RpcRunner.call_write_ssconf_files(self._UnlockedGetNodeList(), |
|
1110 |
self._UnlockedGetSsconfValues()) |
|
1109 |
result = rpc.RpcRunner.call_write_ssconf_files(\ |
|
1110 |
self._UnlockedGetNodeList(), |
|
1111 |
self._UnlockedGetSsconfValues()) |
|
1112 |
for nname, nresu in result.items(): |
|
1113 |
msg = nresu.RemoteFailMsg() |
|
1114 |
if msg: |
|
1115 |
logging.warning("Error while uploading ssconf files to" |
|
1116 |
" node %s: %s", nname, msg) |
|
1111 | 1117 |
self._last_cluster_serial = self._config_data.cluster.serial_no |
1112 | 1118 |
|
1113 | 1119 |
def _UnlockedGetSsconfValues(self): |
Also available in: Unified diff