Bug 2138216

Summary: [Tracker for Bug 2104207] [MetroDR] Monitor crash - ceph_assert(0 == \"how did we try and do stretch recovery while we have dead monitor buckets?\"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Neha Ojha <nojha>
Component: RADOSAssignee: Kamoltat (Junior) Sirivadhna <ksirivad>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: medium    
Version: 4.2CC: akraj, akupczyk, amathuri, bhubbard, bniver, ceph-eng-bugs, cephqe-warriors, choffman, ebenahar, gfarnum, jdurgin, kramdoss, ksirivad, lflores, mbukatov, muagarwa, nojha, pdhange, pdhiran, rfriedma, rzarzyns, skanta, sostapov, sseshasa, tserlin, vereddy, vumrao
Target Milestone: ---   
Target Release: 6.1z2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-119.el9cp Doc Type: Bug Fix
Doc Text:
.Ceph Monitor no longer crashes with a `ceph_assert(osdmon()->is_writeable())` error Previously, there was a problem in the stretch mode part of the Ceph Monitor when performing failover. Users could not exit the `wait_for_writeable_ctx` function properly while waiting for a Paxos service called osdmon to be writeable. Due to this, the monitor would crash with a `ceph_assert(osdmon()->is_writeable())` error. With this fix, the function is exited by returning nothing after going into `wait_for_writeable_ctx` error and crashes no longer occur when we failover in stretch cluster.
Story Points: ---
Clone Of: 2104207 Environment:
Last Closed: 2023-10-12 16:34:25 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:    
Bug Blocks: 2104207, 2235257    

Comment 28 Scott Ostapovicz 2023-07-12 12:25:26 UTC
Missed the 6.1 z1 window.  Retargeting to 6.1 z2.

Comment 40 errata-xmlrpc 2023-10-12 16:34:25 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, enhancement, 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:5693