When removing “acquired_locks” in commit
0d5a0b96, I didn't remember
that it does not contain the Big Ganeti Lock.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
"""
# 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 = [node.name