Page MenuHomePhabricator

Upgrade db1108 to Bullseye
Closed, DeclinedPublic1 Estimated Story Points

Description

db1108, the analytics misc host needs to be upgraded to Bullseye.
This can be done anytime as the mariadb version isn't changing (10.4)
Reminder: shutdown mariadb before going for the reimage

Event Timeline

Hi, only 4 dbs left on buster, this is one of them

I'll carry out this upgrade, although it might be in a few weeks' time. Hope that's OK.

Marostegui added a parent task: Restricted Task.Sep 6 2022, 1:55 PM
Marostegui added a parent task: Restricted Task.Oct 24 2022, 6:52 AM

Any ETA on when this host will be upgraded to Bullseye?

Hey @Marostegui,

Is this work blocking anything at the moment? It currently on our radar, but not prioritised. Please let me know if its a blocker or urgent and we can make sure it gets prioritised accordingly?

It is not blocking anything specifically, but this host needs to _at least_ be rebooted soon as there are several kernel upgrades it has missed as it has been up for 650 days cc @MoritzMuehlenhoff

Host rebooted by btullis@cumin1001 with reason: picking up new kernel

I rebooted db1108, but the systemd service definitions for the analytics_meta and matomo database instances no longer exist for some reason. Checking the cause now.

I rebooted db1108, but the systemd service definitions for the analytics_meta and matomo database instances no longer exist for some reason. Checking the cause now.

Oops. This was an error on my part. I was looking in the wrong place for the systemd units. Thanks for correcting me @Marostegui

OK, so that's a [well overdue] reboot completed. As @EChetty said we've struggled to find the time to reimage this host, but will try to do so soon.
We have a lot of other buster->bullseye reimaging to do in the next few months, so hopefully we will be able to fit this in as well.

I have also upgraded mariadb from 10.4.18 to 10.4.22

I would prefer if this is given a bit of a higher priority. This task has been here for a year and we are no longer providing updates to the buster Mariadb package. Only bullseye ones.

BTullis raised the priority of this task from Medium to High.Mar 14 2023, 6:30 PM

Understood. Thanks @Marostegui - Elevated the priority as requested. This is a three week sprint for our team so I'm hoping to do it very soon.

Thanks - I'm happy to help with the process. Basically it's just to double check the host is in the right partman recipe so /srv doesn't get wiped.
Then stop mysql, reimage, and start mysql :)

db1108 will need to be replaced by the new hardware (T326669), which will be installed on bullseye, so probably we can just migrate the data to that new host.

Pausing this work whlst we wait for the replacement server.