ironic driver logs incorrect error message when node in unexpected state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Trevor McCasland |
Bug Description
When an Ironic node is not in the expected state (eg, it somehow is out of sync with the nova driver), an incorrect error message is logged in Nova.
This showed up while testing changes to Ironic's state machine (so the node being in the wrong state is not Nova's fault; I broke something in Ironic to cause that). Regardless of the cause of the InvalidState error, our Nova driver should handle it better.
Here is a copy of the trace from this test run:
http://
2014-12-19 16:52:57.030 WARNING ironicclient.
2014-12-19 16:52:57.030 WARNING nova.virt.
...
{"error_message": "{\"debuginfo\": null, \"faultcode\": \"Client\", \"faultstring\": \"Node 07a3ce7c-
log_http_response /usr/local/
2014-12-19 16:52:59.196 WARNING ironicclient.
2014-12-19 16:52:59.196 ERROR nova.virt.
2014-12-19 16:52:59.197 ERROR nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
2014-12-19 16:52:59.197 31679 TRACE nova.compute.
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: ironic |
Changed in nova: | |
status: | Triaged → Confirmed |
importance: | Medium → Low |
tags: | added: low-hanging-fruit |
Changed in nova: | |
assignee: | nobody → Trevor McCasland (twm2016) |
Is this bug solved?