Cinder create error reason not visible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Wishlist
|
Unassigned | ||
OpenStack Heat |
Triaged
|
Medium
|
Joe D'Andrea |
Bug Description
1. Create a stack with Cinder volumes *and* a lack of enough disk space on the cluster.
2. Stack reaches CREATE_FAILED state (as expected).
3. Use 'heat stack-show' and look for stack_status_
Resource CREATE failed: ResourceInError: Went to status error due to "Unknown"
4. Expected a reason other than "Unknown" (e.g., out of disk space). However, status_reason is never set in the args for ResourceInError.
5. Look at heat engine log and find:
Traceback (most recent call last):
File "/opt/stack/
yield
File "/opt/stack/
yield self.action_
File "/opt/stack/
step = next(subtask)
File "/opt/stack/
while not check(handler_
File "/opt/stack/
resource_
ResourceInError: Went to status error due to "Unknown"
Note: The above traceback does not refer to the most recent kilo (volume.py has since been moved, see below). However, the source for check_create_
https:/
By comparison, Cinder backup objects set fail_reason in the event of an error. There is no fail_reason in Cinder objects, however, leaving folks to go on a proverbial wild goose chase to discover what went wrong.
description: | updated |
Changed in heat: | |
assignee: | nobody → Joe D'Andrea (joedandrea) |
Changed in heat: | |
assignee: | Joe D'Andrea (joedandrea) → nobody |
description: | updated |
Changed in heat: | |
assignee: | nobody → Joe D'Andrea (joedandrea) |
description: | updated |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
Question asked of Cinder, with x-ref back here:
https:/ /answers. launchpad. net/ubuntu/ +source/ cinder/ +question/ 266260