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.
Reviewed: https:/ /review. openstack. org/149027 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=7b16cb7401e 72cce31f7fa53af 11255283f792f4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7b16cb7401e72cc e31f7fa53af1125 5283f792f4
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 provision_ state was set to NOSTATE. (node_uuid) /states/ provision, with target being one
was set to DEPLOYFAIL, its target_
These operations could be performed on these failed nodes:
- PUT /v1/nodes/
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: I46d8e0e9e50cc8 c35ccd7b03df18e 34668781b64
Closes-Bug: #1405420