DRAC power/management interface validate method should check if there's no pending config job on the node

Bug #1517471 reported by Imre Farkas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Incomplete
Low
Imre Farkas

Bug Description

The driver already checks for pending config jobs during setting boot device, but it would be way more user-friendly to do this during validate()

Tags: drac driver
Revision history for this message
Dmitry Tantsur (divius) wrote :

We more or less agreed that validate() method should not call to BMC, as it's called in synchronous fashion in too many places. Can you think of ways to check it without accessing BMC from validate?

Changed in ironic:
status: New → Incomplete
Revision history for this message
Imre Farkas (ifarkas) wrote :

Other way could be with a periodic task which puts its result to diver_internal_info. But there will be a lag between enrolling and properly validating it. WDYT Dmitry?

Revision history for this message
Dmitry Tantsur (divius) wrote :

Why not check it before every operation? I understand it sounds uncool, but we have a similar thing proposed to AMT (for waking up the interface), so it might be the approach for now..

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.