No network device detected on commissioning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Alberto Donato | ||
2.7 |
Fix Released
|
Medium
|
Alberto Donato | ||
2.8 |
Fix Released
|
Medium
|
Alberto Donato |
Bug Description
On a Cavium arm64 server, no network device is detected on commissioning.
This happens because all network devices are VFs, since the PF is not available to the OS.
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enP2p1s0f2: <BROADCAST,
link/ether 1c:1b:0d:0d:52:7d brd ff:ff:ff:ff:ff:ff
inet 10.245.142.29/21 brd 10.245.143.255 scope global enP2p1s0f2
valid_lft forever preferred_lft forever
inet6 fe80::1e1b:
valid_lft forever preferred_lft forever
3: enP2p1s0f3: <NO-CARRIER,
link/ether 1c:1b:0d:0d:52:7e brd ff:ff:ff:ff:ff:ff
4: enP2p1s0f4: <NO-CARRIER,
link/ether 1c:1b:0d:0d:52:7f brd ff:ff:ff:ff:ff:ff
5: enP2p1s0f5: <NO-CARRIER,
link/ether 1c:1b:0d:0d:52:80 brd ff:ff:ff:ff:ff:ff
6: enP2p1s0f1: <BROADCAST,
link/ether 1c:1b:0d:0d:52:7c brd ff:ff:ff:ff:ff:ff
inet 10.245.142.36/21 brd 10.245.143.255 scope global enP2p1s0f1
valid_lft forever preferred_lft forever
inet6 fe80::1e1b:
valid_lft forever preferred_lft forever
The resources binary reports interface ports under the VFs section: https:/
MAAS should look for entries with ports under those as well
Related branches
- Alberto Donato: Approve
-
Diff: 156 lines (+90/-31)3 files modifiedsrc/machine-resources/src/machine-resources/Gopkg.lock (+1/-1)
src/metadataserver/builtin_scripts/hooks.py (+38/-30)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+51/-0)
- MAAS Lander: Approve
- Björn Tillenius: Approve
-
Diff: 144 lines (+84/-25)3 files modifiedsrc/machine-resources/src/machine-resources/Gopkg.lock (+1/-1)
src/metadataserver/builtin_scripts/hooks.py (+32/-24)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+51/-0)
- Dougal Matthews (community): Approve
- MAAS Lander: Needs Fixing
-
Diff: 156 lines (+90/-31)3 files modifiedsrc/machine-resources/src/machine-resources/Gopkg.lock (+1/-1)
src/metadataserver/builtin_scripts/hooks.py (+38/-30)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+51/-0)
Changed in maas: | |
milestone: | none → 2.9.0b1 |
assignee: | nobody → Alberto Donato (ack) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
There also seem to be an issue with the resources binary, reporting interfaces twice in the card "vfs" section, where one entry has a pci_address, the other one doesn't.