Commit 4a19bdc0 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Set powered to True for added nodes

Signed-off-by: default avatarRené Nussbaumer <>
Reviewed-by: default avatarMichael Hanselmann <>
parent b528a12d
......@@ -4224,6 +4224,9 @@ class LUAddNode(LogicalUnit):
new_node = self.new_node
node =
# 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment