Page MenuHomePhabricator

Migrate install_server::web_server (apt*) to nginx-light
Closed, ResolvedPublic

Description

apt* is currently running nginx-full, but should be perfectly fine with the -light variant instead.

Event Timeline

RKemper triaged this task as Medium priority.Sep 3 2020, 9:32 PM

Change 624355 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/puppet@production] installserver::web_server: switch from nginx full to light variant

https://gerrit.wikimedia.org/r/624355

Change 624355 merged by Dzahn:
[operations/puppet@production] installserver::web_server: switch from nginx full to light variant

https://gerrit.wikimedia.org/r/624355

Mentioned in SAL (#wikimedia-operations) [2020-09-04T20:51:41Z] <mutante> apt2001 - apt-get remove --purge libnginx* and run puppet to replace nginx-full with nginx-light (T261962)

Mentioned in SAL (#wikimedia-operations) [2020-09-04T21:06:50Z] <mutante> apt1001 - removed all libnginx-mod* packages except libnginx-mod-http-echo ; sudo apt-get autoremove ; run puppet ; restarted nginx - apt.wikimedia.org switched to nginx-light (T261962)

[apt1001:~] $ dpkg -l | grep nginx
ii  libnginx-mod-http-echo               1.14.2-2+deb10u3             amd64        Bring echo and more shell style goodies to Nginx
ii  nginx-common                         1.14.2-2+deb10u3             all          small, powerful, scalable web/proxy server - common files
ii  nginx-light                          1.14.2-2+deb10u3             amd64        nginx web/proxy server (basic version)

[apt2001:~] $ dpkg -l | grep nginx
ii  libnginx-mod-http-echo               1.14.2-2+deb10u3             amd64        Bring echo and more shell style goodies to Nginx
ii  nginx-common                         1.14.2-2+deb10u3             all          small, powerful, scalable web/proxy server - common files
ii  nginx-light                          1.14.2-2+deb10u3             amd64        nginx web/proxy server (basic version)
[icinga1001:~] $ /usr/lib/nagios/plugins/check_http -H apt.wikimedia.org --ssl --sni -I apt1001.wikimedia.org -u https://apt.wikimedia.org/wikimedia/
HTTP OK: HTTP/1.1 200 OK - 1305 bytes in 0.008 second response time |time=0.008190s;;;0.000000;10.000000 size=1305B;;;0

[icinga1001:~] $ /usr/lib/nagios/plugins/check_http -H apt.wikimedia.org --ssl --sni -I apt2001.wikimedia.org -u https://apt.wikimedia.org/wikimedia/
HTTP OK: HTTP/1.1 200 OK - 1305 bytes in 0.142 second response time |time=0.142309s;;;0.000000;10.000000 size=1305B;;;0

https://apt.wikimedia.org/wikimedia/