Controller type displays as "Undefined"
Bug #2002550 reported by
Nick De Villiers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Jack Lloyd-Walters |
Bug Description
On the controller listing page, the controller type should display whether a controller is a Region controller, Rack controller, or both. The UI is currently displaying "undefined".
I believe the cause of this is the backend not providing the `node_type_display` property, which the frontend uses to display the appropriate node type.
Related branches
~lloydwaltersj/maas:undefined-controller-type
Merged
into
maas:master
- MAAS Lander: Approve
- Alberto Donato: Approve
- Adam Collard (community): Abstain
-
Diff: 34 lines (+12/-0)2 files modifiedsrc/maasserver/websockets/handlers/controller.py (+1/-0)
src/maasserver/websockets/handlers/tests/test_controller.py (+11/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Jack Lloyd-Walters (lloydwaltersj) |
Changed in maas: | |
milestone: | none → 3.4.0 |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Where was this behaviour seen? Might need to see the websocket response in the console for this.
My assumption is this is caused by the data not being correctly populated by `websockets. handlers. node:NodeHandle r.dehydrate` , but that will need a little more testing.