Comment 5 for bug 1593991

Revision history for this message
Jason Hobbs (jason-hobbs) wrote : Re: [2.0b7] nodes enlisted manually through CLI added with a single power controller controlling all the nodes for power type IPMI

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()