only set http_proxy and https_proxy when needing to access internet

Bug #1158518 reported by Aaron Rosen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
New
Undecided
Aaron Rosen

Bug Description

In my setup I have to use an http_proxy to access the internet and setting http_proxy=proxy_server in my localrc does not work. The reason for this is when devstack performs commands against an IP address they are forwarded to the http_proxy which doesn't forward them back to me.

For example:

export http_proxy=http://10.113.161.210:3128
$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr fa:16:3e:5e:7b:09
          inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0

wget 192.168.1.4

tcpdump -i eth0 tcp port 80 and 3128

13:47:00.061976 IP 192.168.1.4.41434 > 10.113.161.210.3128: Flags [S], seq 4167652687, win 14600, options [mss 1460,sackOK,TS val 23854447 ecr 0,nop,wscale 4], length 0

Aaron Rosen (arosen)
Changed in devstack:
assignee: nobody → Aaron Rosen (arosen)
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.