New state machine handles deploy failures incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
Ruby Loo |
Bug Description
When exception occurs during deployment, state machine goes to DEPLOYFAIL provisioning state, while not clearing target_
E.g. exception occurs:
File "/usr/local/
timer()
File "/usr/local/
cb(*args, **kw)
File "/usr/local/
result = function(*args, **kwargs)
File "/opt/stack/
node.last_error = _("Failed to deploy. Error: %s") % e
File "/usr/local/
six.
File "/opt/stack/
task.
File "/opt/stack/
node.
File "/opt/stack/
reason=_("Agent deploy supports only HTTP URLs"))
ImageUnacceptable: Image file://
After that, any node-update request gives
Node 5189df61-
When trying node-set-
Node 5189df61-
In ironic.nodes DB table target_
Changed in ironic: | |
status: | New → Triaged |
status: | Triaged → Confirmed |
Changed in ironic: | |
importance: | Undecided → High |
Changed in ironic: | |
assignee: | nobody → Ruby Loo (rloo) |
Changed in ironic: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | kilo-2 → 2015.1.0 |
Related change - https:/ /review. openstack. org/#/c/ 142303/