Bug 2211324 - [cee/sd][ceph-ansible] Cephadm-preflight playbook stops all the ceph services from node if older ceph rpms are present on the host.
Summary: [cee/sd][ceph-ansible] Cephadm-preflight playbook stops all the ceph services...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 5.3
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 6.1z3
Assignee: Teoman ONAY
QA Contact: Vinayak Papnoi
Disha Walvekar
URL:
Whiteboard:
Depends On: 2244978
Blocks: 2247624
TreeView+ depends on / blocked
 
Reported: 2023-05-31 06:16 UTC by Lijo Stephen Thomas
Modified: 2023-12-12 13:55 UTC (History)
10 users (show)

Fixed In Version: cephadm-ansible-2.17.0-1.el9cp
Doc Type: Bug Fix
Doc Text:
.The Ceph packages are now installed without stopping any of the running Ceph services Previously, during the upgrade, all the Ceph services stopped running as the Ceph 4 packages got uninstalled instead of updating. With this fix, the new Ceph 5 packages get installed during upgrades and do not impact the running Ceph processes.
Clone Of:
Environment:
Last Closed: 2023-12-12 13:55:38 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-6771 0 None None None 2023-05-31 06:17:19 UTC
Red Hat Product Errata RHSA-2023:7740 0 None None None 2023-12-12 13:55:43 UTC

Description Lijo Stephen Thomas 2023-05-31 06:16:48 UTC
Description of problem:
-----------------------
- After upgrading the cluster from RHCS 4.3z1 (baremetal) to RHCS 5.3z3 / RHCS 5.3z2, if we run cephadm-preflight playbook to install the latest ceph-common and cephadm packages on the ceph nodes,
it stops the ceph.target service, which in turn stops all the ceph services running on the host. 

This happens only when ceph rpms like ceph-common,ceph-base,ceph-mon,ceph-osd etc from older version (RHCS 4.3z1) still exists on the hosts (as cluster is migrated from baremetal to container).


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHCS 5.3


How reproducible:
-----------------
Every time.


Steps to Reproduce:
--------------------
1. Deploy RHCS 4.3z1  baremetal cluster
2. Convert the Ceph services to containerized
3. Upgrade the cluster to RHCS 5.3z2 / RHCS 5.3z3
4. Run cephadm-preflight playbook to upgrade the ceph-common and cephadm package on the host.


Actual results:
---------------
The ceph packages is upgraded but all ceph services on the host are stoped.

Expected results:
-----------------
The ceph packages should be upgraded and no services should be impacted.

Comment 5 Scott Ostapovicz 2023-07-12 12:17:51 UTC
Missed the 6.1 z1 window.  Retargeting to 6.1 z2.

Comment 17 errata-xmlrpc 2023-12-12 13:55:38 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 (Moderate: Red Hat Ceph Storage 6.1 security, enhancements, and 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/RHSA-2023:7740


Note You need to log in before you can comment on or make changes to this bug.