MAAS only learns of new hardware by delete and re-add
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
New
|
Undecided
|
Unassigned |
Bug Description
Once MAAS has learnt of a node it seems to have no way to re-inspect the node for hardware changes. We require a means to have MAAS look for hardware changes, especially when nodes are already deployed.
Use cases:
1. A machine's mainboard has been replaced, meaning the node has new MAC addrs. The node fails to PXE boot, and we cannot update the MAC addresses as the node is deployed.
1.1 We needed to hack maasserver/
1.2 MAAS version is 1.9.0+bzr4533-
2. Scripted hardware RAID configuration is only possible with a tool run from the booted operating system. (No out-of-band tools are available for this brand of hardware.) We can run this tool in a commissioning script, but we can't then deploy as the new disk layout means the (sda, now a RAID array) disk serial is not recognised, and partitioning_
2.1 We need to commission with the RAID configuration commissioning script, delete the nodes, then re-add and re-commission the nodes, this time without the commissioning script. (Even re-commissioning without deleting first failed to see the change.)
2.2 MAAS version is 1.9.1+bzr4543-
In both these cases, a means to instruct MAAS to re-inspect the hardware could solve the problems. I haven't found one yet in the API.
I believe bug #1575567 is about detecting storage changes during re-commissioing. This bug us about detecting storage and other hardware changes after deployment as well.