EC2 ToToken middleware should use eventlet.green.httplib

Bug #836207 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Dan Prince

Bug Description

Using nova bzr 1500.

The ToToken middleware currently makes use of httplib2 to communicate with the auth server. I'm hitting issues where the JSON part of the request doesn't seem to be getting sent to Keystone.

Switching to 'from eventlet.green import httplib' seems to resolve the issue.

Related branches

Revision history for this message
Dan Prince (dan-prince) wrote :

Also. In case anyone is interested. I tried importing the patched version of httplib2 as well but it doesn't seem to work:

 httplib2 = eventlet.import_patched('httplib2')

Again. Switching the code to use the eventlet.green.httplib call should resolve this issue.

Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
Dan Prince (dan-prince)
Changed in nova:
importance: Undecided → High
Dan Prince (dan-prince)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-rbp
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-rbp → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.