To work around this I had to do this from the maas-region-admin shell.
>>> for node in bmc.node_set.all(): ... node.bmc = BMC(power_type='ipmi') ... node.bmc.save() ... node.save()
Followed by this: >>> for node in Node.objects.all(): ... if node.power_type is "": ... node.power_type = 'ipmi' ... node.save()
To work around this I had to do this from the maas-region-admin shell.
>>> for node in bmc.node_set.all(): type='ipmi' )
... node.bmc = BMC(power_
... node.bmc.save()
... node.save()
Followed by this:
>>> for node in Node.objects.all():
... if node.power_type is "":
... node.power_type = 'ipmi'
... node.save()