Work around httplib2 tunnelling bug
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | python-novaclient |
Undecided
|
Mark McLoughlin | ||
Bug Description
I'm using novaclient to access an OpenStack install over a corporate squid proxy
It's a plain old HTTP connection, but httplib2 is insisting on doing CONNECT tunnelling
I'm getting a 403 Forbidden from the proxy because it's using the default squid config which rejects CONNECT to ports other than 443
More details here:
http://
The upshot is we want to use PROXY_TYPE_
We can hack a pretty simple workaround into novaclient to force this
| Changed in python-novaclient: | |
| assignee: | nobody → Mark McLoughlin (markmc) |
| status: | New → In Progress |
Reviewed: https:/
Committed: http://
Submitter: Jenkins
Branch: master
commit aaa38ce0e54d97d
Author: Mark McLoughlin <email address hidden>
Date: Fri Sep 14 18:31:24 2012 +0100
Work around httplib2 tunnelling bug
Fixes bug #1051007
httplib2 defaults to using HTTP CONNECT tunnelling even for plain HTTP
connections. This is problematic with proxies configured to only allow
tunnelling to port 443. This is the default configuration for squid.
Hack around the problem by forcing httplib2 to use the HTTP_NO_TUNNEL
proxy type which disables tunnelling except for port 443.
Change-Id: I59cd95ed74a9bb
| Changed in python-novaclient: | |
| status: | In Progress → Fix Committed |
| Changed in python-novaclient: | |
| status: | Fix Committed → Fix Released |


Fix proposed to branch: master /review. openstack. org/13036
Review: https:/