maintenance reason should be cleared if maintenance mode set to off via node-update

Bug #1398191 reported by Ruby Loo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Invalid
Medium
Sergey Lupersolsky

Bug Description

When setting the maintenance mode to off via the node-update API (PATCH /v1/nodes/(node_uuid) {op: replace, key: maintenance, value: off}), the maintenance-reason field should be cleared.

This was brought up in Dec 1st weekly meeting [1] and mentioned in the blueprint for "Add maintenance reason field" [2].

[1] starting around 17:16:45, http://eavesdrop.openstack.org/meetings/ironic/2014/ironic.2014-12-01-17.02.log.txt
[2] http://specs.openstack.org/openstack/ironic-specs/specs/kilo/maintenance-reason.html#upgrades-and-backwards-compatibility

Ruby Loo (rloo)
Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
Changed in ironic:
assignee: nobody → Sergey Lupersolsky (slupers1)
Revision history for this message
Ruby Loo (rloo) wrote :

My bad. We didn't think this had been addressed, but it turns out it had been.

Changed in ironic:
status: Triaged → Invalid
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.