Merge branch 'stable-2.12' into stable-2.13
[ganeti-github.git] / lib / cmdlib / instance_query.py
index 909da2e..fbf4362 100644 (file)
@@ -75,6 +75,9 @@ class LUInstanceQueryData(NoHooksLU):
       self.needed_locks[locking.LEVEL_NODE] = []
       self.needed_locks[locking.LEVEL_NETWORK] = []
       self.recalculate_locks[locking.LEVEL_NODE] = constants.LOCKS_REPLACE
+      self.dont_collate_locks[locking.LEVEL_NODEGROUP] = True
+      self.dont_collate_locks[locking.LEVEL_NODE] = True
+      self.dont_collate_locks[locking.LEVEL_NETWORK] = True
 
   def DeclareLocks(self, level):
     if self.op.use_locking: