Re-commissioning doesn't detect NIC changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Ricardo Bánffy |
Bug Description
1.6+bzr2496-
I have a node registered with two sata disks and one network card. It happens to be a VM.
I added another NIC to it, and a new IDE disk. I put the serial "123456" on that new disk. Then I selected the node in the maas gui and commissioned it again.
After that is done, the new NIC was detected. I'm not sure about the new disk, as the "disk space" field in the edit node page didn't change.
Both new pieces of hardware do show up in maas's lshw output in the view node page, but the NIC isn't registered.
Attached is a screenshot of the view page with the NICs pointed at. It's a long page, you will have to zoom in. I'm also attaching the raw lshw dumps from that same maas page from before and after.
Related branches
- Blake Rouse (community): Approve
-
Diff: 216 lines (+158/-0)3 files modifiedsrc/metadataserver/models/commissioningscript.py (+48/-0)
src/metadataserver/models/tests/ip_link_results.txt (+18/-0)
src/metadataserver/models/tests/test_noderesults.py (+92/-0)
tags: | added: landscape |
Changed in maas: | |
milestone: | none → 1.8.0 |
Changed in maas: | |
assignee: | nobody → Ricardo Bánffy (rbanffy) |
importance: | Medium → Critical |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
lshw before:
- disk with serial 123456 not present
- NIC with mac ending in 14:12 not persent