Skip to contentSkip to conversation

production-config-cambridge: Use new squid proxy

PATCH In review Ian Jackson 2 participants 3 messages Dec 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 production-config-cambridge: Use new squid proxy

Specify both HttpProxy and DebianMirrorProxy. In my tests this seems to improve some of the apparently-intercepting-proxy-related failures, and it will certainly improve logging.

I set DebianMirrorProxy too so that queries to security.d.o go through the proxy. Ideally we would have a apt cache that could be used as an http proxy rather than as an origin server; when that happens we can set DebianMirrorProxy to point to it and do away with DebianMirrorHost (as we do in Massachusetts).

---
 production-config-cambridge |    3 +++
 1 file changed, 3 insertions(+)
production-config-cambridge +3 -0
index f801303..012a056 100644
@@ -82,6 +82,9 @@ XenUseUser osstest
 #DebianMirrorHost debian.uk.xensource.com
 DebianMirrorHost 10.80.16.196
 
+HttpProxy http://osstest.xs.citrite.net:3128/
+DebianMirrorProxy http://osstest.xs.citrite.net:3128/
+
 HostProp_NtpServer ntp.uk.xensource.com
 HostProp_DhcpWatchMethod leases dhcp3 dns1.uk.xensource.com:5556
 
Signature · 1 line
1.7.10.4
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Ian Jackson

Specify both HttpProxy and DebianMirrorProxy.  In my tests this seems to improve some of the apparently-intercepting-proxy-related failures, and it will certainly improve logging.

I set DebianMirrorProxy too so that queries to security.d.o go through the proxy.  Ideally we would have a apt cache that could be used as an http proxy rather than as an origin server; when that happens we can set DebianMirrorProxy to point to it and do away with DebianMirrorHost (as we do in Massachusetts).

Do you want to go pretest in Cambridge then merge back to colo or do you want to push it to the colo and let it flow through in time?

Quoted 15 lines

---
 production-config-cambridge |    3 +++

 1 file changed, 3 insertions(+)
production-config-cambridge +0 -0
index f801303..012a056 100644
@@ -82,6 +82,9 @@ XenUseUser osstest
  #DebianMirrorHost debian.uk.xensource.com

 DebianMirrorHost 10.80.16.196

production-config-cambridge +3 -0
+HttpProxy http://osstest.xs.citrite.net:3128/
+DebianMirrorProxy http://osstest.xs.citrite.net:3128/
+
Quoted 3 lines

 HostProp_NtpServer ntp.uk.xensource.com HostProp_DhcpWatchMethod leases dhcp3 dns1.uk.xensource.com:5556

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

#2 lore raw

Ian Campbell writes ("Re: [OSSTEST PATCH] production-config-cambridge: Use new squid proxy"):

Quoted 2 lines

Do you want to go pretest in Cambridge then merge back to colo or do you want to push it to the colo and let it flow through in time?

I don't care all that much.

Ian.