[2.0a1] PXE interface incorrectly displayed on the UI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
LaMont Jones |
Bug Description
The PXE interface is incorrectly determine. In this case, eth0 is the PXE interface but MAAS is saying eth1: is:
http://
Interface shows that the PXE MAC is eth1, but the API shows it is eth0.
http://
Also, after taking a close look at the API output:
1. Fabric on eth0 is determined incorrectly, as this should be 'Fabric-2' instead of 'Fabric-0'. This reflects on both the API and UI.
2. PXE interface is determined correctly on the API, but what the Web UI shows is different.
Machine's output:
[
{
"type": "physical",
"id": 136,
"children": [],
"params": "",
"vlan": {
"id": 1,
"mtu": 1500,
"name": "untagged",
"vid": 0
},
"tags": [],
"parents": [],
"enabled": true,
"name": "eth0",
"links": [],
},
{
"type": "physical",
"id": 137,
"children": [],
"params": "",
"vlan": {
"id": 1,
"mtu": 1500,
"name": "untagged",
"vid": 0
},
"tags": [],
"parents": [],
"enabled": true,
"name": "eth1",
"links": [],
}
]
VLAN output:
ubuntu@
Success.
Machine-readable output follows:
[
{
"vid": 0,
"id": 1,
"fabric": "fabric-0",
"mtu": 1500,
"name": "untagged",
"dhcp_on": false
}
]
ubuntu@
Success.
Machine-readable output follows:
[
{
"vid": 0,
"id": 2,
"fabric": "fabric-1",
"mtu": 1500,
"name": "untagged",
"dhcp_on": false
}
]
ubuntu@
Success.
Machine-readable output follows:
[
{
"vid": 0,
"id": 3,
"fabric": "fabric-2",
"mtu": 1500,
"name": "untagged",
"dhcp_on": true
}
]
Related branches
- Mike Pontillo (community): Approve
- Jeffrey C Jones (community): Approve
-
Diff: 104 lines (+54/-4)3 files modifiedsrc/maasserver/static/partials/node-details.html (+1/-1)
src/maasserver/websockets/handlers/node.py (+1/-1)
src/maasserver/websockets/handlers/tests/test_machine.py (+52/-2)
Changed in maas: | |
milestone: | none → 2.0.0 |
summary: |
- Fabric are incorrectly determined on enlistment, which may cause PXE - interface incorrectly showed in the UI + [2.0a1] PXE interface incorrectly displayed on the UI |
Changed in maas: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in maas: | |
assignee: | nobody → LaMont Jones (lamont) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |