Revision fb460cf7 lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
560 | 560 |
""" |
561 | 561 |
cfg = config.ConfigWriter() |
562 | 562 |
modify_ssh_setup = cfg.GetClusterInfo().modify_ssh_setup |
563 |
result = rpc.RpcRunner.call_node_stop_master(master, True)
|
|
563 |
result = rpc.RpcRunner.call_node_stop_master(master) |
|
564 | 564 |
msg = result.fail_msg |
565 | 565 |
if msg: |
566 | 566 |
logging.warning("Could not disable the master role: %s", msg) |
... | ... | |
692 | 692 |
|
693 | 693 |
logging.info("Stopping the master daemon on node %s", old_master) |
694 | 694 |
|
695 |
result = rpc.RpcRunner.call_node_stop_master(old_master, True)
|
|
695 |
result = rpc.RpcRunner.call_node_stop_master(old_master) |
|
696 | 696 |
msg = result.fail_msg |
697 | 697 |
if msg: |
698 | 698 |
logging.error("Could not disable the master role on the old master" |
... | ... | |
721 | 721 |
|
722 | 722 |
logging.info("Starting the master daemons on the new master") |
723 | 723 |
|
724 |
result = rpc.RpcRunner.call_node_start_master(new_master, True, no_voting)
|
|
724 |
result = rpc.RpcRunner.call_node_start_master_daemons(new_master, no_voting)
|
|
725 | 725 |
msg = result.fail_msg |
726 | 726 |
if msg: |
727 | 727 |
logging.error("Could not start the master role on the new master" |
Also available in: Unified diff