Comment 7 for bug 1290715

Revision history for this message
Jay Bryant (jsbryant) wrote :

Thanks for the pointer on this one git-harry. So, what I did was break the contract with webob's exception class. When I was going through the process of creating commit https://github.com/openstack/cinder/commit/cbe1d5f5e22e5f792128643e4cdd6afb2ff2b5bf Jim Carey and I talked about this case. I thought I had handled these but I hadn't.

Anyway, this is currently failing because I am trying to send a message object from OpenStack to the webob library, which it isn't designed to handle. The 'raise.webob.HTTP*' needs to have the err being sent wrapped with six.text_type. I will go make sure that I fix all the places where that is happening.