HEAT - Validation of a template does not display the correct error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
heat-dashboard |
New
|
Undecided
|
Unassigned |
Bug Description
If the heat template from a file source does not have the right syntax, the error displayed in horizon is
"An unknown problem occurred validating the template."
Heat engine is returning an error with an error message but that message is not propagated to the end user.
This is what I see in the horizon logs
HTTP/1.1 400 Bad Request
date: Wed, 18 Dec 2013 18:55:45 GMT
content-length: 769
content-type: application/json; charset=UTF-8
{"explanation": "At least one Resources member must be defined.", "code": 400, "error": {"message": "At least one Resources member must be defined.", "traceback": " File \"/usr/
2013-12-18 18:55:45,328 4601 ERROR openstack_
Traceback (most recent call last):
File "/usr/share/
validated = api.heat.
File "/usr/share/
return heatclient(
File "/usr/lib/
resp, body = self.api.
File "/usr/lib/
resp, body_str = self._http_
File "/usr/lib/
raise exc.from_
HTTPBadRequest: ERROR: At least one Resources member must be defined.
In this case horizon should display some message like "ERROR: At least one Resources member must be defined"
summary: |
- HEAT - Error while validating a template does not display the correct - error + HEAT - Validation of a template does not display the correct error + message |
description: | updated |
Changed in horizon: | |
assignee: | nobody → Victor Morales (electrocucaracha) |
Changed in horizon: | |
importance: | Undecided → Medium |
Changed in horizon: | |
assignee: | Victor Morales (electrocucaracha) → Marcos Lobo (marcos-fermin-lobo) |
Changed in horizon: | |
assignee: | Marcos Lobo (marcos-fermin-lobo) → Matthias Runge (mrunge) |
Changed in horizon: | |
assignee: | nobody → Sharat Sharma (sharat-sharma) |
Changed in horizon: | |
status: | Confirmed → In Progress |
Changed in horizon: | |
assignee: | Sharat Sharma (sharat-sharma) → nobody |
status: | In Progress → New |
importance: | Medium → Undecided |
tags: | added: heat |
Fix proposed to branch: master /review. openstack. org/63678
Review: https:/