Revision c9064964

b/lib/backend.py
64 64
def StopMaster():
65 65
  """Deactivate this node as master.
66 66

  
67
  This does two things:
68
    - run the master stop script
69
    - remove link to master cron script.
67
  This runs the master stop script.
70 68

  
71 69
  """
72 70
  result = utils.RunCmd([constants.MASTER_SCRIPT, "-d", "stop"])
b/lib/cmdlib.py
632 632

  
633 633
    """
634 634
    master = self.sstore.GetMasterNode()
635
    if not rpc.call_node_stop_master(master):
636
      raise errors.OpExecError("Could not disable the master role")
635 637
    priv_key, pub_key, _ = ssh.GetUserFiles(constants.GANETI_RUNAS)
636 638
    utils.CreateBackup(priv_key)
637 639
    utils.CreateBackup(pub_key)

Also available in: Unified diff