ERROR state from power drivers should be checked

Bug #1358816 reported by Yuriy Zveryanskyy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Yuriy Zveryanskyy

Bug Description

Power drivers (ipmitool, ipminative for example) can return ERROR state. This error is not checked in manager._do_sync_power_state, conductor.utils.node_power_action. Because ERROR state from driver can be
valid unknown state, it is up to the caller to decide what to do.

Changed in ironic:
importance: Undecided → Medium
status: New → Triaged
Changed in ironic:
assignee: nobody → Yuriy Zveryanskyy (yzveryanskyy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/116876

Changed in ironic:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/117499

description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/116876
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=134c2e8b0f8401db0ff768224bb58084cf1c3169
Submitter: Jenkins
Branch: master

commit 134c2e8b0f8401db0ff768224bb58084cf1c3169
Author: Yuriy Zveryanskyy <email address hidden>
Date: Tue Aug 26 14:59:01 2014 +0300

    Check ERROR state from driver in _do_sync_power_state

    Power driver can returns ERROR state. This error is not checked
    in manager._do_sync_power_state.

    Partial-Bug: #1358816
    Change-Id: I0672da6159252a1a2901f31ae11e2b29bc6147ef

Revision history for this message
Lucas Alvares Gomes (lucasagomes) wrote :

tagging to rc1 after talking to the person assigned to it on IRC:

<lucasagomes> yuriyz, should we tag bug 1358816 to RC1?
<yuriyz> lucasagomes, IMO we should

Changed in ironic:
milestone: none → juno-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/117499
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=37b71282a918e9ec788810ed1abd29498cff12a1
Submitter: Jenkins
Branch: master

commit 37b71282a918e9ec788810ed1abd29498cff12a1
Author: Yuriy Zveryanskyy <email address hidden>
Date: Thu Aug 28 15:10:09 2014 +0300

    Log ERROR power state in node_power_action()

    Power driver can returns ERROR state. Log this error and do not
    break requested action (this can be unknown valid state).

    Partial-Bug: #1358816
    Change-Id: I9b26440671cb44b58016dfd796adbd8fedd483ae

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

This bug seems fixed to me, please feel free to reopen, if you have something else to fix.

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: juno-rc1 → 2014.2
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.