Description of problem: ----------------------- After upgrading the RHCS 4 (barmetal) cluster to RHCS 5 (containerized), the cephadm-preflight.yml playbook fails to install ceph-common (ceph-common-16.2.0-117.el8cp.x86_64.rpm) packages on host, due to older ceph packages(RHCS 4) installed on the host (original cluster was baremetal) Removing older ceph packages results in removal of /etc/ceph directory, and also takes down all running ceph services. We need a way to gracefully carryout the package clean up, inorder to be able to install latest ceph-common. Edit: Note: the pre-flight is executed post upgrade activity (post executing of rolling_update and cephadm-adopt playbooks) Version-Release number of selected component (if applicable): ------------------------------------------------------------- RHCS 5.0 How reproducible: ----------------- Every time Steps to Reproduce: ------------------- 1. Install RHCS 4 baremetal cluster. 2. Switch the cluster to containerized in preparation to RHCS 5 upgrade. 3. Upgrade the cluster to RHCS 5. 4. Run the cephadm-preflight.yml playbook
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 (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement 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/RHSA-2022:5997
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days