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
Reviewed: https:/ /review. openstack. org/546656 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=b93e5b05c43 bd1ce23c7ffa85e e0ef1e8aa582ea
Committed: https:/
Submitter: Zuul
Branch: master
commit b93e5b05c43bd1c e23c7ffa85ee0ef 1e8aa582ea
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 6f7adc27065dbca b1ba8358daa
Change-Id: Ia448431a2922ea