Commit 20875652 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

LUInstanceCreate: Release node resource lock



… after running iallocator. Otherwise an assertion later in the code
would fail (for a good reason).
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent ff02b60f
......@@ -9601,6 +9601,9 @@ class LUInstanceCreate(LogicalUnit):
_ReleaseLocks(self, locking.LEVEL_NODE,
keep=filter(None, [self.op.pnode, self.op.snode,
self.op.src_node]))
_ReleaseLocks(self, locking.LEVEL_NODE_RES,
keep=filter(None, [self.op.pnode, self.op.snode,
self.op.src_node]))
 
#### node related checks
 
......
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