Page MenuHomePhabricator

Move Varnish6 from component to main
Closed, ResolvedPublic

Description

Initially, we needed Varnish6 under component so as to have it tested while still maintaining Varnish5 in production. We now use Varnish6 in all our production
cache hosts. With this shift, we aim to cleanup the old and unused Varnish5 packages and have component available for future experimental Varnish versions.

Similar work has been done tasks : T261632, T300247, and T300164

Event Timeline

For varnishkafka, this is the problem:

elukey@apt1001:/srv/wikimedia$ sudo reprepro lsbycomponent varnishkafka
varnishkafka | 1.0.13-1 | stretch-wikimedia |               main | amd64, source
varnishkafka | 1.0.14-1 |  buster-wikimedia |               main | amd64, source
varnishkafka |  1.1.0-1 |  buster-wikimedia | component/varnish6 | amd64, source

Puppet is configured to install the package, but the component is not mentioned. If one does not specifically upgrade the package manually after the component/varnish6 is added to apt, then we end up in situations like T300164.

We should get rid of 1.0.1[3,4]-1 and keep only 1.1.0 in main.

Change 765200 had a related patch set uploaded (by MMandere; author: MMandere):

[operations/puppet@production] varnish: change the default archive component for varnish

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

Mentioned in SAL (#wikimedia-operations) [2022-02-23T13:39:40Z] <mmandere> import libvmod-netmapper_1.9-1.dsc and libvmod-netmapper_1.9-1_amd64.deb to main component - T302301

Mentioned in SAL (#wikimedia-operations) [2022-02-23T13:52:40Z] <mmandere> import libvmod-re2_1.5.3-1.dsc and libvmod-re2_1.5.3-1_amd64.deb to main component - T302301

Mentioned in SAL (#wikimedia-operations) [2022-02-23T14:05:06Z] <mmandere> import varnish_6.0.10-1wm1.dsc, varnish_6.0.10-1wm1_amd64.deb, varnish-dbg_6.0.6-1wm1_amd64.deb, varnish-dbgsym_6.0.10-1wm1_amd64.deb, varnish-doc_6.0.10-1wm1_all.deb to main component - T302301

Mentioned in SAL (#wikimedia-operations) [2022-02-23T14:11:52Z] <mmandere> import libvarnishapi2_6.0.10-1wm1_amd64.deb, libvarnishapi2-dbgsym_6.0.10-1wm1_amd64.deb, libvarnishapi-dev_6.0.10-1wm1_amd64.deb to main component - T302301

Mentioned in SAL (#wikimedia-operations) [2022-02-23T14:18:51Z] <mmandere> import varnish-modules_0.15.0-1+wmf1.dsc, varnish-modules-dbgsym_0.15.0-1+wmf1_amd64.deb, varnish-modules_0.15.0-1+wmf1_amd64.deb to main component - T302301

Mentioned in SAL (#wikimedia-operations) [2022-02-23T14:26:48Z] <mmandere> import varnishkafka_1.1.0-1_amd64.deb, varnishkafka_1.1.0-1.dsc, varnishkafka-dbg_1.1.0-1_amd64.deb to main component - T302301

Mentioned in SAL (#wikimedia-operations) [2022-02-24T10:13:30Z] <mmandere> depool cp4028.ulsfo.wmnet - T302301

Change 765200 merged by MMandere:

[operations/puppet@production] varnish: change the default archive component for varnish

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

Mentioned in SAL (#wikimedia-operations) [2022-02-24T10:49:57Z] <mmandere> enable-puppet on cp instances after finishing successfully testing varnish package component change - T302301

We now have all Varnish6 and its dependencies moved to the main component for the buster-wikimedia distribution.
In the process, all Varnish5 packages for buster-wikimedia distribution have been cleared and no longer enlisted in the repo as depicted below:

image.png (434×993 px, 92 KB)