projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some fixes to node add and re-add
[ganeti-local]
/
lib
/
cmdlib.py
diff --git
a/lib/cmdlib.py
b/lib/cmdlib.py
index
957a089
..
0f3e517
100644
(file)
--- a/
lib/cmdlib.py
+++ b/
lib/cmdlib.py
@@
-2331,6
+2331,7
@@
class LUSetNodeParams(LogicalUnit):
if self.op.drained is not None:
node.drained = self.op.drained
if self.op.drained is not None:
node.drained = self.op.drained
+ result.append(("drained", str(self.op.drained)))
if self.op.drained == True:
if node.master_candidate:
node.master_candidate = False
if self.op.drained == True:
if node.master_candidate:
node.master_candidate = False