Comment 10 for bug 1588901

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to ironic (master)

Reviewed: https://review.openstack.org/546656
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=b93e5b05c43bd1ce23c7ffa85ee0ef1e8aa582ea
Submitter: Zuul
Branch: master

commit b93e5b05c43bd1ce23c7ffa85ee0ef1e8aa582ea
Author: Dmitry Tantsur <email address hidden>
Date: Wed Feb 21 15:58:05 2018 +0100

    Prevent overwriting of last_error on cleaning failures

    This changes moves the call to tear_down_cleaning to before we set
    the last_error and maintenance_reason fields. Thus we avoid
    overwriting last_error by e.g. power actions.

    Related-Bug: #1588901
    Change-Id: Ia448431a2922ea6f7adc27065dbcab1ba8358daa