[RFE]Give the detailed information to users for locked node

Bug #1720065 reported by Tao Li
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ironic
Confirmed
Wishlist
Kaifeng Wang

Bug Description

In many scenarios,ironic-conductor will lock the bare metal node to avoid operation race. Otherwise,it only records the name of host which hosts the ironic-conductor. Users don't konw which operation locks the bare metal node. So we should record the reason to db and tell users in some way such as raise an exception with the reason.
I think we should use a blueprint to implement it.

Tags: needs-spec
Tao Li (eric-litao)
Changed in ironic:
assignee: nobody → Tao Li (eric-litao)
summary: - Give the detailed information to users for locked node
+ [RFE]Give the detailed information to users for locked node
Michael Turek (mjturek)
Changed in ironic:
importance: Undecided → Wishlist
tags: added: needs
tags: added: needs-spec
removed: needs
Changed in ironic:
status: New → Confirmed
Revision history for this message
Kaifeng Wang (kaifeng) wrote :

It's a straightforward solution I think expanding some context would reduce the need for a spec?
Records the reason of and exclusive lock to to the driver_internal_info, and when a request fails to lock the node, include the reason in the exception.
It seems nobody is working on this, taking assignment.

Changed in ironic:
assignee: Tao Li (eric-litao) → Kaifeng Wang (kaifeng)
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.