Revision 3583908a lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
275 | 275 |
# start the master ip |
276 | 276 |
# TODO: Review rpc call from bootstrap |
277 | 277 |
# TODO: Warn on failed start master |
278 |
rpc.RpcRunner.call_node_start_master(hostname.name, True) |
|
278 |
rpc.RpcRunner.call_node_start_master(hostname.name, True, False)
|
|
279 | 279 |
|
280 | 280 |
|
281 | 281 |
def InitConfig(version, cluster_config, master_node_config, |
... | ... | |
457 | 457 |
# cluster info |
458 | 458 |
cfg.Update(cluster_info) |
459 | 459 |
|
460 |
# 2.0.X: Don't start the master if no_voting is true |
|
461 |
result = rpc.RpcRunner.call_node_start_master(new_master, not no_voting) |
|
460 |
result = rpc.RpcRunner.call_node_start_master(new_master, True, no_voting) |
|
462 | 461 |
msg = result.RemoteFailMsg() |
463 | 462 |
if msg: |
464 | 463 |
logging.error("Could not start the master role on the new master" |
Also available in: Unified diff