def GetMasterNodeName():
  try:
    return _GetConfig().GetMasterNode()
  except errors.ConfigurationError, err:
    _Fail("Cluster configuration incomplete: %s", err, exc=True)
Returns the master node name.
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/GetMasterNodeName