Bug 2243741

Summary: [Stretch cluster] ceph is inaccessible after crash/shutdown tests are run
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Kamoltat (Junior) Sirivadhna <ksirivad>
Component: RADOSAssignee: Kamoltat (Junior) Sirivadhna <ksirivad>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: high Docs Contact: Disha Walvekar <dwalveka>
Priority: unspecified    
Version: 6.1CC: bhubbard, bniver, ceph-eng-bugs, cephqe-warriors, dwalveka, hnallurv, ksirivad, mashetty, muagarwa, nojha, pdhiran, sapillai, sostapov, tnielsen, tserlin, vereddy, vumrao
Target Milestone: ---Keywords: TestBlocker
Target Release: 6.1z3   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-159.el9cp Doc Type: Bug Fix
Doc Text:
Cause: The `disallowed_leaders` attribute of the MonitorMap is conditionally filled only when we can enter `stretch_mode`, however, there is an instance where Monitors that just got revived will not be able to enter `stretch_mode` right away because it is in a `probing` state. Therefore, this leads to a mismatch in the `disallowed_leaders` set between the monitors across the cluster. Consequence: Monitors fail to elect a leader, the election gets stuck and Ceph becomes unresponsive. Fix: Monitors don't have to be in stretch_mode to fill the `disallowed_leaders` attribute. Result: Monitors don't get stuck in elections during crash/shutdown tests.
Story Points: ---
Clone Of: 2241937
: 2248939 (view as bug list) Environment:
Last Closed: 2023-12-12 13:56:01 UTC Type: ---
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: 2241937    
Bug Blocks: 2247624, 2248939, 2272750    

Comment 14 errata-xmlrpc 2023-12-12 13:56:01 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