← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1356665] [NEW] WSGI unittest fails if HTTP_PROXY if set

 

Public bug reported:

urllib2.urlopen uses $http_proxy/$HTTP_PROXY environment variables by
default.  If set (and pointing to a remote host), then the WSGI tests
that spin up a local server and connect to it using
http://127.0.0.1:$port/ instead connect to $port *on the proxy*,
and (hopefully) fail.

We shouldn't follow HTTP_PROXY when trying to connect to test servers.

** Affects: neutron
     Importance: Undecided
     Assignee: Angus Lees (gus)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1356665

Title:
  WSGI unittest fails if HTTP_PROXY if set

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  urllib2.urlopen uses $http_proxy/$HTTP_PROXY environment variables by
  default.  If set (and pointing to a remote host), then the WSGI tests
  that spin up a local server and connect to it using
  http://127.0.0.1:$port/ instead connect to $port *on the proxy*,
  and (hopefully) fail.

  We shouldn't follow HTTP_PROXY when trying to connect to test servers.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1356665/+subscriptions


Follow ups

References