Comment 5 for bug 1405420

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

Reviewed: https://review.openstack.org/149027
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=7b16cb7401e72cce31f7fa53af11255283f792f4
Submitter: Jenkins
Branch: master

commit 7b16cb7401e72cce31f7fa53af11255283f792f4
Author: Ruby Loo <email address hidden>
Date: Wed Jan 21 19:04:59 2015 +0000

    Allow operations on DEPLOYFAIL'd nodes

    Prior to the code changes to use fsm, when a node's provision state
    was set to DEPLOYFAIL, its target_provision_state was set to NOSTATE.
    These operations could be performed on these failed nodes:
    - PUT /v1/nodes/(node_uuid)/states/provision, with target being one
      of [DELETE, ACTIVE, REBUILD]
    - PATCH /v1/nodes

    After those code changes, the node's target_provision_state was set
    to ACTIVE (in line with the new state machine proposal) and the
    above operations were no longer possible.

    With these changes (to check for nodes in DEPLOYFAIL provision state),
    the above operations can now be performed.

    Change-Id: I46d8e0e9e50cc8c35ccd7b03df18e34668781b64
    Closes-Bug: #1405420