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

Fix bug introduced in commit 0d5a0b96

When removing “acquired_locks” in commit 0d5a0b96

, I didn't remember
that it does not contain the Big Ganeti Lock.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 5ed4c956
......@@ -3671,7 +3671,8 @@ class _OsQuery(_QueryBase):
# Locking is not used
assert not (compat.any(lu.glm.is_owned(level)
for level in locking.LEVELS) or
for level in locking.LEVELS
if level != locking.LEVEL_CLUSTER) or
self.do_locking or self.use_locking)
valid_nodes = [
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