Skip to contentSkip to conversation

ts-openstack-deploy: Set http proxy

PATCH In review Ian Jackson 2 participants 3 messages Apr 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ts-openstack-deploy: Set http proxy

This allows ./stack.sh to access the global internet.

CC Anthony PERARD <[email protected]>
---
 ts-openstack-deploy | 3 +++
 1 file changed, 3 insertions(+)
ts-openstack-deploy +3 -0
index a1c974f..d4c041d 100755
@@ -137,8 +137,11 @@ END
 }
 
 sub deploy() {
+    my $httpproxy = http_proxy_envsettings($ho);
+
     target_cmd($ho, <<END, 1800);
         set -e
+        $httpproxy
         cd $builddir/devstack
         ./stack.sh
 END
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Ian Jackson

This allows ./stack.sh to access the global internet.

CC Anthony PERARD <[email protected]>
---
 ts-openstack-deploy | 3 +++
 1 file changed, 3 insertions(+)
ts-openstack-deploy +0 -0
index a1c974f..d4c041d 100755
@@ -137,8 +137,11 @@ END
 }

ts-openstack-deploy END · line 147

Quoted 10 lines
ts-openstack-deploy +3 -0
 
 sub deploy() {
+    my $httpproxy = http_proxy_envsettings($ho);
+
     target_cmd($ho, <<END, 1800);
         set -e
+        $httpproxy
         cd $builddir/devstack
         ./stack.sh
 END

The patch itself looks good, but I think http_proxy_envsettings only set http_proxy, twice, but does not set https_proxy.

For this patch:

Signature · 6 lines
Anthony PERARD

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#2 lore raw

Anthony PERARD writes ("Re: [OSSTEST PATCH] ts-openstack-deploy: Set http proxy"):

Quoted 2 lines

The patch itself looks good, but I think http_proxy_envsettings only set http_proxy, twice, but does not set https_proxy.

Indeed. See my patch "proxy config: Actually set https_proxy too" posted today, when I tripped over this too.

Quoted 2 lines

For this patch:

Thanks. I'm running more tests with the https mitm cert env setting you suggested.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel