Bug #20809
closedluminous ceph-release-1-0.el7.noarch.rpm doesn't update the previous version from jewel
0%
Description
Jewel ships ceph-release version which is higher than the one that is currently in luminous, Due to this it fails to upgrade the package,
Please make this either 1.2 or higher than what is currently in jewel, so that one can use ceph-deploy or other tools for release upgrades without issues.
$ sudo rpm -Uvh --replacepkgs https://download.ceph.com/rpm-luminous/el7/noarch/ceph-release-1-0.el7.noarch.rpm Retrieving https://download.ceph.com/rpm-luminous/el7/noarch/ceph-release-1-0.el7.noarch.rpm Preparing... ################################# [100%] file /etc/yum.repos.d/ceph.repo from install of ceph-release-1-1.el7.noarch conflicts with file from package ceph-release-1-1.el7.noarch
One from jewel is:
$ rpm -qa | grep ceph-release ceph-release-1-1.el7.noarch
Updated by Vasu Kulkarni over 6 years ago
The version 1.0 itself is hardcoded in ceph-deploy, so i guess the update should work based on other build value?
{url}noarch/ceph-release-1-0.{dist}.noarch.rpm'.format(url=url, dist=dist)
Updated by Alfredo Deza over 6 years ago
There is a historical issue here :)
The verion 1-0 was hard-coded because that never changed. Except one day, it did:
https://github.com/ceph/ceph-build/blob/master/ceph-release-rpm/build/build#L111-L112
On our repos, to avoid this issue we've symlinked them from 1-1 to 1-0. I think the correct thing here would be to
update to 1-1.
Updated by Vasu Kulkarni over 6 years ago
Thanks for the pointer alfredo, I will update that to 1-1 in a separate PR.