Page MenuHomePhabricator

[openstack] Fix ceph-common version in Bookworm
Closed, DeclinedPublic

Description

apt update in Bookworm hosts is showing a warning about a missing thirdparty component.

W: Skipping acquire of configured file 'thirdparty/ceph-octopus/source/Sources' as repository 'http://apt.wikimedia.org/wikimedia bookworm-wikimedia InRelease' doesn't have the component 'thirdparty/ceph-octopus' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'thirdparty/ceph-octopus/binary-amd64/Packages' as repository 'http://apt.wikimedia.org/wikimedia bookworm-wikimedia InRelease' doesn't have the component 'thirdparty/ceph-octopus' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'thirdparty/ceph-octopus/i18n/Translation-en' as repository 'http://apt.wikimedia.org/wikimedia bookworm-wikimedia InRelease' doesn't have the component 'thirdparty/ceph-octopus' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'thirdparty/ceph-octopus/i18n/Translation-en_US' as repository 'http://apt.wikimedia.org/wikimedia bookworm-wikimedia InRelease' doesn't have the component 'thirdparty/ceph-octopus' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'thirdparty/ceph-octopus/Contents-amd64' as repository 'http://apt.wikimedia.org/wikimedia bookworm-wikimedia InRelease' doesn't have the component 'thirdparty/ceph-octopus' (component misspelt in sources.list?)

We must create the component in modules/aptrepo/files/distributions-wikimedia, otherwise we end up with a different version of the ceph-common-package:

root@cloudcontrol1006:~# cat /etc/debian_version
11.8
root@cloudcontrol1006:~# dpkg -l ceph-common
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  ceph-common    15.2.16-1    amd64        common utilities to mount and interact with a ceph storage cluster
root@cloudcontrol1007:~# cat /etc/debian_version
12.2
root@cloudcontrol1007:~# dpkg -l ceph-common
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  ceph-common    16.2.11+ds-2 amd64        common utilities to mount and interact with a ceph storage cluster

Event Timeline

fnegri changed the task status from Open to In Progress.Oct 31 2023, 7:23 PM
fnegri triaged this task as High priority.
fnegri created this task.

We pull the Ceph packages from https://mirror.croit.io/debian-octopus but that repo only includes packages for buster and bullseye, not for bookworm.

The simple solution is to us the Ceph packages that come with Bookworm (v16), they seem to work fine in codfw... At some point we'll upgrade the Ceph cluster to v16 and maybe it's actually better to update the client packages first.

@taavi @Andrew WDYT?

fnegri moved this task from In progress to Done on the cloud-services-team (FY2023/2024-Q1-Q2) board.

We opted for the simple solution: upgrading to ceph-common v16 in both cloudvirt* and cloudcontrol* eqiad hosts, as we did in eqiad. Things seem to be working fine.