Project

General

Profile

Actions

Bug #20809

closed

luminous ceph-release-1-0.el7.noarch.rpm doesn't update the previous version from jewel

Added by Vasu Kulkarni over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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
Actions #2

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)
Actions #3

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.

Actions #4

Updated by Vasu Kulkarni over 6 years ago

Thanks for the pointer alfredo, I will update that to 1-1 in a separate PR.

Actions #6

Updated by Sage Weil over 6 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF