Comment 6 for bug 1667776

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/queens)

Reviewed: https://review.openstack.org/559314
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=27b2ef1d72365c105be7bc03eb1f67986688dfe7
Submitter: Zuul
Branch: stable/queens

commit 27b2ef1d72365c105be7bc03eb1f67986688dfe7
Author: Dmitry Tantsur <email address hidden>
Date: Wed Mar 14 14:20:15 2018 +0100

    Fix error handling in set_provision_state/set_power_state workflows

    Currently these workflows succeed in any case, since we don't have
    any condition to fail. This change makes them fail if the resulting
    state does not match the expected one.

    It also handles the case when a node goes into one of the failure
    states, so that we don't wait until timeout. Proper error message
    is returned to avoid confusing operators.

    Finally, it reduces the traffic between mistral and ironic by only
    requesting the required fields.

    Conflicts:
     workbooks/baremetal.yaml

    Partial-Bug: #1755754
    Closes-Bug: #1667776
    Change-Id: Ice19306d4c4a2080b0337bc02a6ccee4a81411b5
    (cherry picked from commit d97cd4a00556457914b783282c544b5233af0260)