Bug 2001775

Summary: [cee/sd][ceph-ansible] Lost Mon quorum while migrating non-containerized environment to containerized.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Lijo Stephen Thomas <lithomas>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED DUPLICATE QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2CC: aschoen, ceph-eng-bugs, gmeno, gsitlani, mgowri, nthomas, vimishra, ykaul
Target Milestone: ---   
Target Release: 5.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-07 14:36:41 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 Lijo Stephen Thomas 2021-09-07 07:36:47 UTC
Description of problem:
=======================
While migrating a non-containerized RHCS cluster to containerized cluster using switch-from-non-containerized-to-containerized-ceph-daemons.yml playbook, mon lost its quorum due to miss-configuration (2/3 down).
Because of any miss-configuration, if migration for first mon daemon fails (Task: waiting for the monitor to join the quorum), the playbook should not proceed with next mon daemons because it will break all available mon daemons and we end up losing the cluster access. 


Version-Release number of selected component (if applicable):
=============================================================
RHCS 4.2z2 async


How reproducible:
=================
Every time 


Steps to Reproduce:
===================
1. Deploy RHCS 4.2z2 async as baremetal service.
2. Mention old image tag than the current deployed one
3. Use switch-from-non-containerized-to-containerized-ceph-daemons.yml



Actual results:
===============
Playbook proceeds to migrate the next mon daemon even if the first one didn't join the quorum, this breaks all the mon daemons.

Expected results:
=================
Playbook should not proceed to migrate the next mon daemon unless the first mon joins the quorum.

Comment 4 Lijo Stephen Thomas 2021-09-07 14:36:41 UTC

*** This bug has been marked as a duplicate of bug 1990733 ***