Revision 0623d351 lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
322 | 322 |
if msg: |
323 | 323 |
logging.warning("Could not disable the master role: %s" % msg) |
324 | 324 |
result = rpc.RpcRunner.call_node_leave_cluster(master) |
325 |
if result.failed or not result.data: |
|
326 |
logging.warning("Could not shutdown the node daemon and cleanup the node") |
|
325 |
msg = result.RemoteFailMsg() |
|
326 |
if msg: |
|
327 |
logging.warning("Could not shutdown the node daemon and cleanup" |
|
328 |
" the node: %s", msg) |
|
327 | 329 |
|
328 | 330 |
|
329 | 331 |
def SetupNodeDaemon(cluster_name, node, ssh_key_check): |
Also available in: Unified diff