diff --git a/lib/objects.py b/lib/objects.py index 5ba4a1bc3917806af47b16893daf6f8ff099fe57..2c74e9c8eee5190c79814fd51bbdbac905972c42 100644 --- a/lib/objects.py +++ b/lib/objects.py @@ -844,11 +844,9 @@ class Disk(ConfigObject): for child in self.children: child.UpgradeConfig() - if not self.params: - self.params = constants.DISK_LD_DEFAULTS[self.dev_type].copy() - else: - self.params = FillDict(constants.DISK_LD_DEFAULTS[self.dev_type], - self.params) + # FIXME: Make this configurable in Ganeti 2.7 + if self.params: + self.params = {} # add here config upgrade for this disk @staticmethod