whether the template is using the JSON or YAML format
Bug #1267379 reported by
huangtianhua
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
huangtianhua |
Bug Description
My operations as:
1. make a file, but only written some string such as "hello test" in it, it's obvious not JSON or YAML format.
2. use template-validate api to validate the file.
3. an error is raised: "The server could not comply with the request since\r\nit is either malformed or otherwise incorrect."
4. because an unexpected exception raised in default_
"TypeError:
5. I think it's a bug, at least we should catch the exception and raise the correct error message such as "invalid format" and to tell the template is not using the JSON or YAML format.
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
Changed in heat: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/65644
Review: https:/