Page MenuHomePhabricator

Upgrade deployment-webperf hosts to Debian Buster or Bullseye
Closed, ResolvedPublic

Description

The following deployment-prep instances need to be upgraded off Debian Stretch:

deployment-webperf11 is a performance team data processor and performance.wikimedia.org server (webperf::processors_and_site)
deployment-webperf12 is a profiling tools host (webperf::profiling_tools)

Event Timeline

taavi renamed this task from Update deployment-webperf hosts to Debian Buster or Bullseye to Upgrade deployment-webperf hosts to Debian Buster or Bullseye.Feb 13 2022, 6:40 PM

Change 774512 had a related patch set uploaded (by Dave Pifke; author: Dave Pifke):

[operations/puppet@production] coal: Use Python 3, add cachelib dependency

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

Change 774518 had a related patch set uploaded (by Dave Pifke; author: Dave Pifke):

[operations/puppet@production] deployment-prep: re-point to new bullseye hosts

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

Change 774584 had a related patch set uploaded (by Dave Pifke; author: Dave Pifke):

[performance/coal@master] Prefer newer import path for cachelib

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

Mentioned in SAL (#wikimedia-operations) [2022-03-29T19:40:26Z] <moritzm> uploaded cachelib 0.4.1-2~wmf1 to bullseye-wikimedia T301638

@dpifke : I uploaded a backport of the current version in bookworm to bullseye-wikimedia, can you doublecheck in your deployment-prep instance with that version (since compared to your initial test with the bookworm deb, this was built against the Bullseye toolchain. I don't expect any issues, but a test won't hurt before we roll this out.

I think we're good to go.

Tested via:

$ dpkg -l python3-cachelib
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name             Version      Architecture Description
+++-================-============-============-===========================================================
ii  python3-cachelib 0.4.1-2      all          collection of cache libraries using the same API (Python 3)
$ sudo apt-get remove python3-cachelib
$ sudo apt-get update
$ sudo apt-get install python3-cachelib
$ dpkg -l python3-cachelib
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name             Version      Architecture Description
+++-================-============-============-===========================================================
ii  python3-cachelib 0.4.1-2~wmf1 all          collection of cache libraries using the same API (Python 3)
$ service uwsgi-coal restart

...and then verified that Coal's web interface still works.

Change 774512 merged by Muehlenhoff:

[operations/puppet@production] coal: use Python 3, add cachelib dependency

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

The patch for coal/bullseye compat has been rolled out and appears to be working fine. on webperf[12]001.

Change 774584 merged by jenkins-bot:

[performance/coal@master] Prefer newer import path for cachelib

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

Old hosts in deployment-prep have been deleted.

Change 774518 merged by Jbond:

[operations/puppet@production] deployment-prep: re-point to new bullseye hosts

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