Commit
cce46164 fixed upgrading from other 2.6 versions, but
accidentally broke upgrading from 2.5 (disk.params was left as None,
which breaks FillDict). The simplest way to handle params is to always
set them to an empty dict (disregarding what they currently contain).
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
child.UpgradeConfig()
# FIXME: Make this configurable in Ganeti 2.7
- if self.params:
- self.params = {}
+ self.params = {}
# add here config upgrade for this disk
@staticmethod