EC2 ToToken middleware should use eventlet.green.httplib
Bug #836207 reported by
Dan Prince
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
lp:~dan-prince/nova/ec2_totoken_green_httplib
- Vish Ishaya (community): Approve
- Brian Waldon (community): Approve
-
Diff: 63 lines (+17/-10)1 file modifiednova/api/ec2/__init__.py (+17/-10)
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-rbp |
Changed in nova: | |
milestone: | diablo-rbp → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.