Page MenuHomePhabricator

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";

Event Timeline

hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar added subscribers: hashar, faidon, yuvipanda.
hashar set Security to None.

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 claimed this task.