Clear error description should be provided by Magnum

Registered by Stanislaw Pitucha

In order to debug a failing bay creation, users need to know about interaction with heat, heat architecture and how to debug it. It would be much better if magnum could propagate some of the error description into the bay-show status.

For example if you get a case of stack failing because of:

| master_wait_condition | | OS::Heat::WaitCondition | CREATE_FAILED |

Magnum could create a text description in the stack status field saying something like "Waiting for XYZ connection to master instance failed" (I'm guessing, I have to read the heat template to figure out what it is at the moment)

Magnum doesn't have to do a full analysis / diagnosis, but even grabbing the first failing resource and describing it in simple summary would be very helpful.

The fact that heat descriptions exist on the server side makes this even more useful and current situation more difficult.

Blueprint information

Status:
Not started
Approver:
Adrian Otto
Priority:
Undefined
Drafter:
Stanislaw Pitucha
Direction:
Approved
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Any such error descriptions should follow the OpenStack API Working Group errors guideline http://specs.openstack.org/openstack/api-wg/guidelines/errors.html ( also see https://blueprints.launchpad.net/magnum/+spec/standardised-error-messages )

Gerrit topic: https://review.openstack.org/#q,topic:bp/explain-errors,n,z

Addressed by: https://review.openstack.org/318416

Put fault info of bay resources into bay-show outputs

Implemented by Wenzhi Yu(yuywz) on Jun 8 2016

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.