MAAS/curtin generate invalid /e/n/i and failed deployment for nodes with long (biosdevname) interface names, which in turn have VLANs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned | ||
1.9 |
Invalid
|
High
|
Unassigned |
Bug Description
I have MAAS 2.0.0 (beta4+bzr4944) and an Intel NUC node with 2 NICs (second one usb3-to-ethernet adapter), commissioned with xenial: http://
If I try to deploy this, it never completes, but since the console gets cleared soon after the initial boot messages, it took me some time to figure out what's wrong. It turned out the /e/n/i maas (or curtin) generates for the node (using this result from 'get-curtin-config <id>': http://
It's relatively easy to workaround this, by renaming the second NIC from 'enx00e1000015de' to e.g. 'eno2' after commissioning. MAAS automatically renames all its children (VLAN) NICs correctly, and the deployment completes successfully, as expected.
summary: |
- MAAS/curtin are generate invalid /e/n/i causing failed deployment for - nodes with long (biosdevname-enabled) interface names (e.g. - commissioning with xenial) + MAAS/curtin generate invalid /e/n/i and failed deployment for nodes with + long (biosdevname) interface names, which in turn have VLANs |
This was discussed on IRC, and one potential workaround is to set "net.ifnames=0" during commissioning, so that the interfaces get the names assigned by the kernel.
Otherwise, the only solution I can think of is for MAAS to shorten the names to 10 characters post-commissioning, and eliminate any duplicates.