Activity log for bug #1235220

Date Who What changed Old value New value Message
2013-10-04 12:18:45 Jesse Pretorius bug added bug
2013-10-04 12:19:54 Jesse Pretorius description The Nova 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. I haven't figured out yet whether this is a global thing or specific to something more localised. 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. Eg execute: nova image-create 69136d40-8de0-4a63-b03a-16543d390c8e test-snap-20131004-10 Response: ERROR: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP 500) Apache's error log shows: [Fri Oct 04 14:08:42 2013] [error] [client 192.168.4.63] mod_wsgi (pid=20280): Exception occurred processing WSGI script '/etc/apache2/wsgi/nova-api-os-compute'. [Fri Oct 04 14:08:42 2013] [error] [client 192.168.4.63] TypeError: expected byte string object for header value, value of type unicode found The actual image-create ends up being successful, even though the client receives a HTTP 500 response. Environment: Openstack Grizzly on Ubuntu with package level 2013.1.3 The Nova 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. I haven't figured out yet whether this is a global thing or specific to something more localised. 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. Eg execute: nova image-create 69136d40-8de0-4a63-b03a-16543d390c8e test-snap-20131004-10 Response: ERROR: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP 500) Apache's error log shows: [Fri Oct 04 14:08:42 2013] [error] [client 192.168.4.63] mod_wsgi (pid=20280): Exception occurred processing WSGI script '/etc/apache2/wsgi/nova-api-os-compute'. [Fri Oct 04 14:08:42 2013] [error] [client 192.168.4.63] TypeError: expected byte string object for header value, value of type unicode found The actual image-create ends up being successful, even though the client receives a HTTP 500 response. Environment: Openstack Grizzly on Ubuntu with package level 2013.1.3 While this is the same result as https://bugs.launchpad.net/nova/+bug/938114 It appears to me that this is more localised.
2013-10-04 13:17:00 Jesse Pretorius bug task added ubuntu
2013-10-04 19:18:09 Russell Bryant tags api
2013-10-15 00:04:17 Christopher Yeoh nova: status New Confirmed
2013-10-15 00:04:52 Christopher Yeoh nova: importance Undecided Medium
2013-10-15 00:05:00 Christopher Yeoh nova: assignee Christopher Yeoh (cyeoh-0)
2013-10-15 10:33:10 OpenStack Infra nova: status Confirmed In Progress
2014-06-04 19:39:53 Matt Riedemann nova: status In Progress Triaged
2014-06-04 19:40:06 Matt Riedemann nova: assignee Christopher Yeoh (cyeoh-0)
2014-09-23 01:53:28 OpenStack Infra nova: status Triaged In Progress
2014-09-23 01:53:28 OpenStack Infra nova: assignee Christopher Yeoh (cyeoh-0)
2014-10-10 15:01:21 Launchpad Janitor ubuntu: status New Confirmed
2015-02-12 15:21:33 Davanum Srinivas (DIMS) nova: assignee Christopher Yeoh (cyeoh-0)
2015-02-12 15:21:39 Davanum Srinivas (DIMS) nova: status In Progress Confirmed
2015-10-21 14:50:42 Sujitha nova: assignee Sujitha (sujitha-neti)
2015-11-02 20:27:59 Sujitha nova: status Confirmed Invalid