Revision c9064964 lib/cmdlib.py
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