Openstack API returns unicode Location Header
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Jason Cannavale |
Bug Description
The Openstack Compute API returns a series of headers as a result of create operation. The location header is being returned as a unicode value which is not compliant with the RFC for HTTP.
While not a problem when running with nova-api services directly the problem manifests itself if a user was to front the API with something that requires rfc compliant headers to be returned, such as Apache. Example output below.
[Fri Feb 17 16:09:34 2012] [error] 2012-02-17 16:09:34,004 INFO nova.api.
[Fri Feb 17 16:09:34 2012] [error] [client 184.106.53.110] mod_wsgi (pid=10356): Exception occurred processing WSGI script '/var/lib/
[Fri Feb 17 16:09:34 2012] [error] [client 184.106.53.110] TypeError: expected byte string object for header value, value of type unicode found
184.106.53.110 - - [17/Feb/
In the above the server will complete the build, but novaclient will return an n/a (HTTP 500).
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/4369
Review: https:/