Bug 1901865 - [ceph-ansible] : switch from rpm to containerized - services collocated with OSDs are stopped creating failure in case of failure
Summary: [ceph-ansible] : switch from rpm to containerized - services collocated with ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.2z1
Assignee: Guillaume Abrioux
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-26 09:57 UTC by Vasishta
Modified: 2021-04-28 20:13 UTC (History)
8 users (show)

Fixed In Version: ceph-ansible-4.0.43-1.el7cp ceph-ansible-4.0.43-1.el8cp
Doc Type: Bug Fix
Doc Text:
Cause: in the OSD play of the `switch-from-non-containerized-to-containerized-ceph-daemons` playbook, we disable *and* stop the systemd unit `ceph.target`. Consequence: It makes the playbook stop any other ceph daemons where we only want to stop OSD services. Fix: With this fix, ceph-ansible doesn't stop `ceph.target`, it only disables it. Result: When collocating other Ceph daemons with OSDs, they all have their corresponding play for managing the transition to container.
Clone Of:
Environment:
Last Closed: 2021-04-28 20:12:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 6078 0 None closed switch2containers: do not stop ceph.target in osd play 2021-02-15 20:23:00 UTC
Red Hat Product Errata RHSA-2021:1452 0 None None None 2021-04-28 20:13:04 UTC

Description Vasishta 2020-11-26 09:57:59 UTC
Description of problem:
Switch to containerized cluster playbook failed because of some other issue but mds collocated with OSD was stopped by ceph-ansible and not started even though all the OSDs on that node were containerized and were up and running.

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

How reproducible:
Tried once

Steps to Reproduce:
1. Configure a bare metal cluster with an OSD collocated with MDS
2. Run switch to containerized daemon playbook
3. Induce playbook failure after OSDs are containerized

Actual results:
Services collocated with OSDs are stopped

Expected results:
All services must be up and running if there is no reason to be down.

Additional info:

Comment 5 Ameena Suhani S H 2021-02-18 02:21:32 UTC
Verified using

ceph-base-14.2.11-121.el7cp.x86_64
ceph-ansible-4.0.46-1.el7cp.noarch

Comment 7 errata-xmlrpc 2021-04-28 20:12:32 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 (Important: 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-2021:1452


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