Revision ee2f0ed4 lib/objects.py

b/lib/objects.py
364 364
      node.UpgradeConfig()
365 365
    for instance in self.instances.values():
366 366
      instance.UpgradeConfig()
367
    if self.cluster.drbd_usermode_helper is None:
368
      # To decide if we set an helper let's check if at least one instance has
369
      # a DRBD disk. This does not cover all the possible scenarios but it
370
      # gives a good approximation.
371
      if self.HasAnyDiskOfType(constants.LD_DRBD8):
372
        self.cluster.drbd_usermode_helper = constants.DEFAULT_DRBD_HELPER
367 373

  
368 374

  
369 375
class NIC(ConfigObject):

Also available in: Unified diff