Revision 72737a7f daemons/ganeti-masterd
b/daemons/ganeti-masterd | ||
---|---|---|
381 | 381 |
# either single node cluster, or a misconfiguration, but I won't |
382 | 382 |
# break any other node, so I can proceed |
383 | 383 |
return True |
384 |
results = rpc.call_master_info(node_list) |
|
384 |
results = rpc.RpcRunner.call_master_info(node_list)
|
|
385 | 385 |
if not isinstance(results, dict): |
386 | 386 |
# this should not happen (unless internal error in rpc) |
387 | 387 |
logging.critical("Can't complete rpc call, aborting master startup") |
... | ... | |
445 | 445 |
|
446 | 446 |
# activate ip |
447 | 447 |
master_node = ssconf.SimpleConfigReader().GetMasterNode() |
448 |
if not rpc.call_node_start_master(master_node, False): |
|
448 |
if not rpc.RpcRunner.call_node_start_master(master_node, False):
|
|
449 | 449 |
logging.error("Can't activate master IP address") |
450 | 450 |
|
451 | 451 |
master.setup_queue() |
Also available in: Unified diff