deployment-mediawiki03 : apt broken trying to reach out webproxy.eqiad.wmnet
Closed, ResolvedPublic

Description

Spotted on deployment-mediawiki03.deployment-prep.eqiad.wmflabs:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease  

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Cannot initiate the connection to webproxy.eqiad.wmnet:8080 (2620:0:861:1:208:80:154:10). - connect (101: Network is unreachable) 

W: Some index files failed to download. They have been ignored, or old ones used instead.

webproxy.eqiad.wmnet is no more reachable from labs instances. It is still configured though:

$ fgrep -R webprox /etc/apt
/etc/apt/apt.conf.d/80security-ubuntu-proxy:Acquire::http::Proxy::security.ubuntu.com "http://webproxy.eqiad.wmnet:8080";
/etc/apt/apt.conf.d/80ubuntu-cloud-archive-proxy:Acquire::http::Proxy::ubuntu-cloud.archive.canonical.com "http://webproxy.eqiad.wmnet:8080";
/etc/apt/apt.conf.d/80old-releases-proxy:Acquire::http::Proxy::old-releases.ubuntu.com "http://webproxy.eqiad.wmnet:8080";
hashar created this task.Jan 6 2016, 9:24 AM
hashar added subscribers: hashar, faidon, yuvipanda.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptJan 6 2016, 9:24 AM
hashar edited the task description. (Show Details)Jan 6 2016, 9:25 AM
hashar set Security to None.
hashar added a comment.Jan 6 2016, 9:28 AM

Command to mass check:
root@deployment-salt:~ # salt -v '*' file.find /etc/apt grep=webproxy

The`apt` puppet class has a $use_proxy parameter that would create the file. It has been set via hiera to false but the puppet class does not garbage collect the files.

I have mass deleted them on both beta cluster and CI instances with:

salt -v '*' cmd.run 'rm -v /etc/apt/apt.conf.d/*-proxy'
hashar closed this task as "Resolved".Jan 6 2016, 9:35 AM
hashar claimed this task.