Bug 2138216 - [Tracker for Bug 2104207] [MetroDR] Monitor crash - ceph_assert(0 == \"how did we try and do stretch recovery while we have dead monitor buckets?\"
Summary: [Tracker for Bug 2104207] [MetroDR] Monitor crash - ceph_assert(0 == \"how d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 4.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 6.1z2
Assignee: Kamoltat (Junior) Sirivadhna
QA Contact: Pawan
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2104207 2235257
TreeView+ depends on / blocked
 
Reported: 2022-10-27 15:59 UTC by Neha Ojha
Modified: 2023-11-03 04:01 UTC (History)
27 users (show)

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.
Clone Of: 2104207
Environment:
Last Closed: 2023-10-12 16:34:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 47340 0 None Merged mon/OSDMonitor: Added extra check before mon.go_recovery_stretch_mode() 2023-08-09 21:39:51 UTC
Github ceph ceph pull 50857 0 None Merged mon/Monitor.cc: exit function if !osdmon()->is_writeable() 2023-08-09 21:39:53 UTC
Red Hat Issue Tracker RHCEPH-5512 0 None None None 2022-10-27 16:08:52 UTC
Red Hat Product Errata RHSA-2023:5693 0 None None None 2023-10-12 16:35:20 UTC

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


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