Moonshot nodes with Mellanox interfaces fail to deploy in maas 1.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
Critical
|
Jason Hobbs | ||
lshw |
Unknown
|
Unknown
|
|||
lshw (Debian) |
Fix Released
|
Unknown
|
|||
lshw (Ubuntu) |
Fix Released
|
Undecided
|
dann frazier | ||
Trusty |
Fix Released
|
Undecided
|
dann frazier | ||
Utopic |
Fix Released
|
Undecided
|
dann frazier | ||
Vivid |
Fix Released
|
Undecided
|
dann frazier |
Bug Description
[Impact]
On systems with multiple NICs on a single PCI function, lshw will fail to show all of the NICs, and might associate the wrong MAC with an interface. This is known to cause problems with MAAS functioning on such systems.
[Test Case]
Run lshw on a system with >1 NIC on a PCI function and observe the output.
[Regression Risk]
The cause of this issue is some deduplication code in lshw that checks to see if the NIC it is scanning has already been registered. The included solution is to also compare the MACs before assuming it is the same NIC. So, regression risk could be that this code is broken (e.g. segfaults) or that there is a real world case where multiple NICs may have the same MAC (hardware bridge?).
Related branches
- Raphaël Badin (community): Approve
-
Diff: 39 lines (+17/-1)2 files modifiedsrc/maasserver/networking_preseed.py (+2/-1)
src/maasserver/tests/test_networking_preseed.py (+15/-0)
Changed in maas: | |
status: | Triaged → Fix Committed |
tags: | added: landscape |
tags: | added: cloud-installer |
Changed in maas: | |
assignee: | nobody → Jason Hobbs (jason-hobbs) |
Changed in maas: | |
status: | Fix Committed → In Progress |
tags: | added: hs-arm64 |
tags: | added: hs-moonshot |
tags: |
added: hs-moonshot-maas-juju removed: hs-moonshot |
Changed in maas: | |
status: | In Progress → Incomplete |
Changed in maas: | |
status: | Incomplete → In Progress |
summary: |
- nodes with two interfaces fail to deploy in maas 1.7 beta5 + Moonshot nodes with Mellanox interfaces fail to deploy in maas 1.7 beta5 |
tags: | added: patch |
Changed in lshw: | |
assignee: | dann frazier (dannf) → nobody |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in lshw (Debian): | |
status: | Unknown → New |
Changed in lshw (Ubuntu Vivid): | |
assignee: | nobody → dann frazier (dannf) |
status: | Confirmed → In Progress |
Changed in lshw (Ubuntu Utopic): | |
assignee: | nobody → dann frazier (dannf) |
status: | Confirmed → In Progress |
description: | updated |
Changed in lshw (Ubuntu Trusty): | |
status: | Confirmed → Triaged |
Changed in lshw (Ubuntu Trusty): | |
assignee: | nobody → dann frazier (dannf) |
status: | Triaged → In Progress |
tags: |
added: verification-done-trusty verification-needed removed: verification-done |
tags: | added: hs-arm64-maas-juju |
Changed in lshw (Debian): | |
status: | New → Fix Released |
Does this happen with other architectures too? I think it's a dupe of bug 1378479 (whose title needs to change, it's mis-labelled).