error 400 message is being truncated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Sirushti Murugesan | ||
python-heatclient |
Invalid
|
Low
|
Neetu Jain |
Bug Description
error 400 messages are being truncated.
Running a command via CLI that will result in a 400 response code (malformed) will be truncated:
ERROR: The server could not comply with the request since
The error with --debug:
DEBUG (connectionpool
HTTP/1.1 400 Bad Request
date: Mon, 30 Jun 2014 09:46:08 GMT
content-length: 283
content-type: application/json; charset=UTF-8
{"explanation": "The server could not comply with the request since\r\nit is either malformed or otherwise incorrect.\r\n", "code": 400, "error": {"message": "The server could not comply with the request since\r", "traceback": null, "type": "HTTPBadRequest"}, "title": "Bad Request"}
DEBUG (http:122)
HTTP/1.1 400 Bad Request
date: Mon, 30 Jun 2014 09:46:08 GMT
content-length: 283
content-type: application/json; charset=UTF-8
{"explanation": "The server could not comply with the request since\r\nit is either malformed or otherwise incorrect.\r\n", "code": 400, "error": {"message": "The server could not comply with the request since\r", "traceback": null, "type": "HTTPBadRequest"}, "title": "Bad Request"}
Traceback (most recent call last):
File "/usr/bin/heat", line 10, in <module>
sys.
File "/usr/lib/
HeatShell(
File "/usr/lib/
args.
File "/usr/lib/
hc.
File "/usr/lib/
data=kwargs, headers=headers)
File "/usr/lib/
resp = self._http_
File "/usr/lib/
raise exc.from_
heatclient.
Changed in heat: | |
importance: | Undecided → Medium |
status: | In Progress → Triaged |
Changed in heat: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | juno-2 → 2014.2 |
tags: | added: icehouse-backport-potential |
Changed in python-heatclient: | |
assignee: | nobody → Jillala Srinivas Reddy (srinivasreddy-j-o) |
Changed in python-heatclient: | |
status: | New → In Progress |
Changed in python-heatclient: | |
importance: | Undecided → Low |
Changed in python-heatclient: | |
assignee: | Jillala Srinivas Reddy (srinivasreddy-j-o) → nobody |
Changed in python-heatclient: | |
status: | In Progress → Invalid |
Forgot to mention, this is tested with: heatclient- 0.2.9-1. el7ost. noarch
python-