Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2007614

Summary: [ceph-ansible] cephadm-adopt - playbook must install cephadm package insteam of copying cli file to make it more usable
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.0CC: aschoen, ceph-eng-bugs, gmeno, mgowri, nthomas, tserlin, ykaul
Target Milestone: ---   
Target Release: 5.0z2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-6.0.19-1.el8cp Doc Type: Known Issue
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-08 13:57:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vasishta 2021-09-24 12:19:44 UTC
Description of problem:
Try to upgrade a cluster to 5.0.z1 which was upgraded from rhcs 4.x

found it difficult to upgrade cephadm to latest version

cephadm version returned older version despite latest cephadm was installed

Version-Release number of selected component (if applicable):
ceph-ansible-6.0.11.1-1.el8cp.noarch

How reproducible:
Tried once

Steps to Reproduce:
1. Configure a RHCS 4.x cluster
2. upgrade the cluster to 5.0 
3. Try to upgrade cephadm package to latest 5.0

Actual results:
$ sudo cephadm version
Using recent ceph image registry-proxy.engineering.redhat.com/rh-osbs/rhceph@sha256:55cb1de88341300daa1ab6d59e4897edc733a3f90162149c21f18abe49ed87c7
ceph version 16.2.0-117.el8cp (0e34bb74700060ebfaa22d99b7d2cdc037b28a57) pacific (stable)
$ rpm -qa|grep ceph
cephadm-16.2.0-133.el8cp.noarch


Expected results:
Users must be able to upgrade cephadm seamelessly 

Additional info:
https://github.com/ceph/ceph-ansible/blob/942420088aeb82b8c22c147ce648b492747c13dc/infrastructure-playbooks/cephadm-adopt.yml#L170-L184

Comment 9 errata-xmlrpc 2021-12-08 13:57:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:5020