websocket machine.list parent group label should return hostname
Bug #1992332 reported by
Peter Makowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Björn Tillenius |
Bug Description
machine.list group by parent label should return a parent's hostname instead of system id
Request:
{"method"
Current:
{"type": 1, "request_id": 23, "rtype": 0, "result": {"count": 9, "cur_page": 1, "num_pages": 1, "groups": [{"name": "knpge8", "value": "knpge8", "count": 9, "collapsed": false, "items": []}}
Expected:
{"type": 1, "request_id": 23, "rtype": 0, "result": {"count": 9, "cur_page": 1, "num_pages": 1, "groups": [{"name": "bolla", "value": "knpge8", "count": 9, "collapsed": false, "items": []}}
Related branches
~bjornt/maas:bug-1992332-parent-group-label
Merged
into
maas:master
- MAAS Lander: Approve
- Adam Collard (community): Approve
-
Diff: 42 lines (+7/-3)2 files modifiedsrc/maasserver/websockets/handlers/node.py (+1/-1)
src/maasserver/websockets/handlers/tests/test_machine.py (+6/-2)
Changed in maas: | |
milestone: | none → 3.3.0 |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
assignee: | nobody → Björn Tillenius (bjornt) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.3.0 → 3.3.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We do not necessarily need the returned value to be system_id, it can be the hostname for both label and value if that makes it easier.