"Mark broken" error description message not shown in the machines list output

Bug #2049661 reported by Joao Andre Simioni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Committed
Medium
Wyatt Rees
3.5
Fix Committed
Medium
Wyatt Rees

Bug Description

This report was done on:

https://discourse.maas.io/t/add-the-mark-broken-error-description-message-to-the-machines-list-output/7741

When marking a machine broken, the user can add a custom error description. This message is displayed under the machine status on the Web UI.

But it’s unavailable in the maas $PROFILE machines read output. To get that message, a query to the events API is required:

maas $PROFILE events query id=<systemid> level=DEBUG | jq -r '([.events[] | select(.type == "User marking node broken") | [.created, .description]])[0] | @tsv'

Can this message be added to the machines read output?

Related branches

Revision history for this message
Jacopo Rota (r00ta) wrote :
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 3.5.0
Changed in maas:
assignee: nobody → Jacopo Rota (r00ta)
status: Triaged → In Progress
Changed in maas:
assignee: Jacopo Rota (r00ta) → Wyatt Rees (wyattrees)
Changed in maas:
milestone: 3.5.0 → 3.6.0
Changed in maas:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.