Update status_message to include latest "Mark broken" message

Bug #1871003 reported by Caleb Ellis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Dougal Matthews

Bug Description

Zeplin wireframe: https://app.zeplin.io/project/5e6a623cde850113ba28d75b/screen/5e7d0351f54d84903661cf65

The new design for the "Mark broken" action proposes allowing the user to leave a message as to why the selected machines are being marked broken. That message is then surfaced in the machine list under Status.

To make this work we need:
- The `mark-broken` websocket method to accept a message parameter
- To update machine.status_message with this new message

Related branches

Alberto Donato (ack)
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
importance: Medium → High
assignee: nobody → Dougal Matthews (d0ugal)
Alberto Donato (ack)
Changed in maas:
milestone: 2.8.0b1 → 2.8.0b2
Dougal Matthews (d0ugal)
Changed in maas:
status: Triaged → In Progress
Revision history for this message
Alberto Donato (ack) wrote :

@Caleb is machine.status_message used elsewhere for similar purposes?

That seems to be more a message for event logs, as currently it would show something like:

"User marking node broken - (user@domain) - <user-provided message>"

Is that what's desired?
If only the message that the user provided is desired, that should be machine.error_description.

Changed in maas:
status: In Progress → Fix Committed
Revision history for this message
Caleb Ellis (caleb-ellis) wrote :

@ack ahh I see, in that case it would be machine.error_description as you said. Thanks!

Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Fix Released
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.