Revision b726aff0 lib/bootstrap.py

b/lib/bootstrap.py
271 271

  
272 272
  # start the master ip
273 273
  # TODO: Review rpc call from bootstrap
274
  # TODO: Warn on failed start master
274 275
  rpc.RpcRunner.call_node_start_master(hostname.name, True)
275 276

  
276 277

  
......
444 445
  cfg.Update(cluster_info)
445 446

  
446 447
  result = rpc.RpcRunner.call_node_start_master(new_master, True)
447
  if result.failed or not result.data:
448
  msg = result.RemoteFailMsg()
449
  if msg:
448 450
    logging.error("Could not start the master role on the new master"
449
                  " %s, please check", new_master)
451
                  " %s, please check: %s", new_master, msg)
450 452
    rcode = 1
451 453

  
452 454
  return rcode

Also available in: Unified diff