diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 3e86e480d1944227d21f4ccd2f1f0a0c5f001ef3..6f900435d7ae33a476ef3076e74b824cbd364cd8 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -11242,6 +11242,7 @@ class LUInstanceGrowDisk(LogicalUnit): self._ExpandAndLockInstance() self.needed_locks[locking.LEVEL_NODE] = [] self.needed_locks[locking.LEVEL_NODE_RES] = [] + self.recalculate_locks[locking.LEVEL_NODE] = constants.LOCKS_REPLACE self.recalculate_locks[locking.LEVEL_NODE_RES] = constants.LOCKS_REPLACE def DeclareLocks(self, level):