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 2183607

Summary: [cee][ceph-ansible] cephadm-preflight.yml playbook does not upgrade cephadm and ceph packages during upgrade from 5.3 to 6.0
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Steve Baldwin <sbaldwin>
Component: Ceph-AnsibleAssignee: Teoman ONAY <tonay>
Status: CLOSED NOTABUG QA Contact: Manisha Saini <msaini>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0CC: ceph-eng-bugs, cephqe-warriors, glaw, gmeno, lithomas, milverma, tonay
Target Milestone: ---   
Target Release: 5.3z3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2192621 (view as bug list) Environment:
Last Closed: 2023-05-02 14:30:54 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:
Bug Depends On:    
Bug Blocks: 2192621    

Description Steve Baldwin 2023-03-31 18:39:11 UTC
Description of problem:
When preparing for upgrade from rhcs 5.3 -> rhcs 6.0 the cephadm-preflight.yml playbook does not upgrade cephadm and ceph packages during upgrade from 5.3 to 6.0.

Version-Release number of selected component (if applicable):
Source version: rhcs 16.2.10-94.el9cp
Target version: rhcs 17.2.5-75.el9cp

How reproducible:
Always

Steps to Reproduce:
1. Deploy rhcs 5.3 cluster on rhel9
2. Prepare rhcs 5.3 for upgrade to rhcs 6.0
   a) On Admin node enable rhceph-6-tools-for-rhel-9-x86_64-rpms repo
      $ subscription-manager repos --enable=rhceph-6-tools-for-rhel-9-x86_64-rpms
   b) Upgrade cephadm package on Admin node
      $ dnf update cephadm
   c) Install cephadm-ansible package on Admin node
      $ dnf install cephadm-ansible
3. Navigate to /usr/share/cephadm-ansible/ directory and run cephadm-preflight.yml playbook
   a) $ cd /usr/share/cephadm-ansible
   b) $ ansible-playbook -i <inventory file> cephadm-preflight.yml --extra-vars "ceph_origin=rhcs upgrade_ceph_packages=true"

Actual results:
Playbook completes successfully however does not enable rhceph-6-tools-for-rhel-9-x86_64-rpms on the nodes and thus never upgrades cephadm and ceph packages (ceph-common, python3-ceph-* and libcephfs2).

Expected results:
cephadm-preflight.yml should upgrade the cephadm and ceph packages

Additional info:

Comment 6 Red Hat Bugzilla 2023-09-19 04:34:49 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days