I didn't manage to recreate the problem yet… I installed the package 1.5+bzr2227-0ubuntu1, created a node with power_type = 'ipmi' and power_parameters = {"power_driver": "", "power_address": "192.168.220.*", "power_pass": "*", "power_user": "Administrator"}.
Then I ran:
sudo maas-region-admin migrate maasserver 0071_drop_after_commissioning_action
(to rewind the migrations)
sudo maas-region-admin migrate maasserver 0072_remove_ipmi_autodetect
(to run the 0072_remove_ipmi_autodetect migration)
No crash, and I can see the node's power_parameters field being updated (i.e. after the migration has run, node.power_parameters['power_driver'] is 'LAN_2_0').
I didn't manage to recreate the problem yet… I installed the package 1.5+bzr2227- 0ubuntu1, created a node with power_type = 'ipmi' and power_parameters = {"power_driver": "", "power_address": "192.168.220.*", "power_pass": "*", "power_user": "Administrator"}.
Then I ran: after_commissio ning_action ipmi_autodetect ipmi_autodetect migration)
sudo maas-region-admin migrate maasserver 0071_drop_
(to rewind the migrations)
sudo maas-region-admin migrate maasserver 0072_remove_
(to run the 0072_remove_
No crash, and I can see the node's power_parameters field being updated (i.e. after the migration has run, node.power_ parameters[ 'power_ driver' ] is 'LAN_2_0').