Bug 1886670

Summary: Monitor::_quorum_status() erroneously assumes the first monitor in quorum is the leader
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Pawan <pdhiran>
Component: RADOSAssignee: Greg Farnum <gfarnum>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2CC: akupczyk, asakthiv, bhubbard, ceph-eng-bugs, ceph-qe-bugs, dzafman, gfarnum, jdurgin, kchai, nojha, rzarzyns, sseshasa, tserlin, vereddy
Target Milestone: ---   
Target Release: 4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-14.2.11-76.el8cp, ceph-14.2.11-76.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-12 14:58:00 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:

Comment 1 Greg Farnum 2020-10-20 07:07:28 UTC
It turns out that this bz is actually just a display issue. Patch in progress upstream. :)

Comment 2 Greg Farnum 2020-10-20 07:14:41 UTC
To elucidate, the particular output function used simply dumps the first monitor name in the quorum list. We just need to look up the right ID and name — the right state is globally available.

Comment 3 Yaniv Kaul 2020-11-05 08:42:51 UTC
Not sure why it was moved to 4.2, but what is the status of this BZ?

Comment 5 Greg Farnum 2020-11-15 23:21:43 UTC
Fixed in ceph-4.2-patches-branch.

Comment 14 errata-xmlrpc 2021-01-12 14:58:00 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 4.2 Security 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-2021:0081