---
 lib/cmdlib.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/cmdlib.py b/lib/cmdlib.py
index 770f205..25bc5d3 100644
--- a/lib/cmdlib.py
+++ b/lib/cmdlib.py
@@ -4208,6 +4208,9 @@ class LUAddNode(LogicalUnit):
     new_node = self.new_node
     node = new_node.name
 
+    # We adding a new node so we assume it's powered
+    new_node.powered = True
+
     # for re-adds, reset the offline/drained/master-candidate flags;
     # we need to reset here, otherwise offline would prevent RPC calls
     # later in the procedure; this also means that if the re-add
-- 
1.7.3.1

Reply via email to