Page MenuHomePhabricator

wmfbackups packages for Debian Bookworm
Closed, ResolvedPublic

Description

wmfbackups and related packages listed below are not available for Bookworm. I tried installing manually the Bullseye versions of the first two of them, and they worked just fine. Can we simply copy the .deb to the new dist in the wikimedia repository, or do we need to bump the version in operations/software/wmfbackups and rebuild them?

python3-wmfbackups_0.8.2+deb11u1_amd64.deb
wmfbackups_0.8.2+deb11u1_amd64.deb
wmfbackups-check_0.8.2+deb11u1_amd64.deb
wmfbackups-remote_0.8.2+deb11u1_amd64.deb

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
fnegri changed the task status from Open to In Progress.Sep 29 2023, 4:40 PM
fnegri triaged this task as High priority.

Feel free to install it locally if you are in an emergency, but please don't upload them to the wikimedia apt repo- there are some patches that need to happen first (they are not even hosted in gerrit anymore).

jcrespo raised the priority of this task from High to Needs Triage.Sep 30 2023, 7:58 PM

Please don't triage tasks for us unless you or your team is going to work on them. 0:-)

I was planning to work on this one. It's not an emergency but it's blocking the upgrade of our hosts to Bookworm (T345810), which in turn is blocking the OpenStack upgrade (T341285).

I have some time to dedicate to this, but if rebuilding the package is not straightforward, I'm also happy to leave that to you and work with a manually-installed package in the meantime. Do you expect the Bullseye package to work in Bookworm without the patches you mentioned?

Do you expect the Bullseye package to work in Bookworm without the patches you mentioned?

Yes.

@jcrespo We are upgrading more servers to Bookworm and I would like to avoid having too many servers with manually-installed packages. What's your recommended way forward on this task? Can I help in any way?

I was planning on creating a package for bookworm soon, but I cannot provide any timeline.

reprepro changes:
add bookworm-wikimedia deb main amd64 wmfbackups 0.8.3+deb12u1 -- pool/main/w/wmfbackups/wmfbackups_0.8.3+deb12u1_amd64.deb
add bookworm-wikimedia deb main amd64 python3-wmfbackups 0.8.3+deb12u1 -- pool/main/w/wmfbackups/python3-wmfbackups_0.8.3+deb12u1_amd64.deb
add bookworm-wikimedia deb main amd64 wmfbackups-check 0.8.3+deb12u1 -- pool/main/w/wmfbackups/wmfbackups-check_0.8.3+deb12u1_amd64.deb
add bookworm-wikimedia deb main amd64 wmfbackups-remote 0.8.3+deb12u1 -- pool/main/w/wmfbackups/wmfbackups-remote_0.8.3+deb12u1_amd64.deb

Congratulations, @fnegri you have now been onboarded on the wmfbackups beta program! This means that, while these packages are maintained by data persistence, you will have the chance to file all the bugs you will now find on this untested release (in addition to the ones that were already known but not fixed on this release). Please read release notes. :-D

Thanks @jcrespo, I have just installed the new packages in our dev cluster (cloudservices200[45]-dev.codfw.wmnet) and I will install them in our production cluster (cloudservices100[56].eqiad.wmnet) later this week.

I will mark this task as resolved, and open new tasks if I find any bugs. :)

Please know an important update of wmfbackups package for compatibility with Puppet 7 will be pushed soon (wmfbackups 0.8.3 - and its related subpackages) T351491 - it should not affect cloud usage- as you don't use the dbbackups stata gathering, but you should upgrade ASAP to avoid future errors.

Thanks @jcrespo -- I'm not sure who did the upgrade, but I checked in debmonitor and 0.8.3 is now installed on all cloud hosts.

I'm afraid you don't have the latest version, https://debmonitor.wikimedia.org/packages/python3-wmfbackups you should upgrade to 0.8.3+deb12u2.

The 0.8.4 update is not that important (it only affects checking of backup time, which you don't use), but the 0.8.3+deb12u1 version that you have at the moment may not be compatible with puppet7.

Good catch, I only checked if there was anything on <0.8.3 and didn't notice the u1 vs u2 difference!

I have now upgraded all cloud hosts to u2.

Thank you, and sorry for the urgency- normally these kind of packages always keep backwards compatibility (and they did here too), and only have optional improvements or specific bug fixes, but this was a kind of a emergency due to puppet 7 upgrade.

I will generate a 0.8.4 package soon for bookworm (but that is purely optional).