Revision 2503680f lib/bootstrap.py

b/lib/bootstrap.py
264 264

  
265 265
  # start the master ip
266 266
  # TODO: Review rpc call from bootstrap
267
  rpc.RpcRunner.call_node_start_master(hostname.name, True)
267
  rpc.RpcRunner.call_node_start_master(hostname.name, True, False)
268 268

  
269 269

  
270 270
def InitConfig(version, cluster_config, master_node_config,
......
442 442
  # cluster info
443 443
  cfg.Update(cluster_info)
444 444

  
445
  # 2.0.X: Don't start the master if no_voting is true
446
  result = rpc.RpcRunner.call_node_start_master(new_master, not no_voting)
445
  result = rpc.RpcRunner.call_node_start_master(new_master, True, no_voting)
447 446
  if result.failed or not result.data:
448 447
    logging.error("Could not start the master role on the new master"
449 448
                  " %s, please check", new_master)

Also available in: Unified diff