Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
6d8b6238
Commit
6d8b6238
authored
Jun 27, 2008
by
Guido Trotter
Browse files
raise QuitGanetiException in LeaveCluster
Reviewed-by: iustinp
parent
c3d7f69b
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/backend.py
View file @
6d8b6238
...
...
@@ -139,6 +139,9 @@ def LeaveCluster():
utils
.
RemoveFile
(
priv_key
)
utils
.
RemoveFile
(
pub_key
)
# Return a reassuring string to the caller, and quit
raise
errors
.
QuitGanetiException
(
False
,
'Shutdown scheduled'
)
def
GetNodeInfo
(
vgname
):
"""Gives back a hash with different informations about the node.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment