[Bug 1919261] Re: Upgrading Ceph from 14.2.11-0ubuntu0.19.10.1~cloud4 to 15.2.8-0ubuntu0.20.04.1~cloud0 fails when ceph-mds is installed
Brian Murray
1919261 at bugs.launchpad.net
Tue Apr 12 17:24:58 UTC 2022
Hello Fabio, or anyone else affected,
Accepted ceph into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/ceph/15.2.16-0ubuntu0.20.04.1 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: ceph (Ubuntu Focal)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-focal
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1919261
Title:
Upgrading Ceph from 14.2.11-0ubuntu0.19.10.1~cloud4 to
15.2.8-0ubuntu0.20.04.1~cloud0 fails when ceph-mds is installed
Status in Ubuntu Cloud Archive:
Invalid
Status in Ubuntu Cloud Archive ussuri series:
Triaged
Status in ceph package in Ubuntu:
Invalid
Status in ceph source package in Focal:
Fix Committed
Bug description:
[Impact]
Package upgrades will fail due to a move of a file between packages
[Test Case]
Install ceph-mds 14.2.11-0ubuntu0.19.10.1~cloud4 (from UCA) on bionic
do-release-upgrade to focal
package upgrade will fail.
[Where problems could occur]
Version declarations might not be correct; upgrade might still break with the same conflict.
[Original Bug Report]
In a host where ceph-mds is installed, upgrading from 14.2.11-0ubuntu0.19.10.1~cloud4 to 15.2.8-0ubuntu0.20.04.1~cloud0 fails with:
dpkg: error processing archive /tmp/apt-dpkg-install-Zen6uw/9-ceph-common_15.2.8-0ubuntu0.20.04.1~cloud0_amd64.deb (--unpack):
trying to overwrite '/usr/bin/cephfs-data-scan', which is also in package ceph-mds 14.2.11-0ubuntu0.19.10.1~cloud4
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/tmp/apt-dpkg-install-Zen6uw/9-ceph-common_15.2.8-0ubuntu0.20.04.1~cloud0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The problem happens because /usr/bin/cephfs-data-scan is provided by
ceph-mds in 14.2.11-0ubuntu0.19.10.1~cloud4:
# dpkg -S /usr/bin/cephfs-data-scan
ceph-mds: /usr/bin/cephfs-data-scan
However in 15.2.8-0ubuntu0.20.04.1~cloud0 it is provided by ceph-
common:
# dpkg -S /usr/bin/cephfs-data-scan
ceph-common: /usr/bin/cephfs-data-scan
A quick workaround is to temporarily remove ceph-mds before the
upgrade (dpkg -r ceph-mds) and then perform the upgrade process using
apt install. It will upgrade all packages and reinstall ceph-mds.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1919261/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list