Bug 1886677

Summary: Disallowed monitor state is lost on restart (DISALLOW and CONNECTIVITY modes)
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Pawan <pdhiran>
Component: RADOSAssignee: Greg Farnum <gfarnum>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.2CC: akupczyk, bhubbard, bniver, ceph-eng-bugs, dzafman, gfarnum, jdurgin, kchai, nojha, rzarzyns, skanta, 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 2 skanta 2020-10-20 06:53:02 UTC
The same issue noticed in the connectivity mode also.

Comment 3 Greg Farnum 2020-10-20 07:17:20 UTC
There's a pretty serious (but easily reparable) error here. The disallowed monitor list is not reloaded into the election module when a monitor boots up or restarts, only when a new monmap is generated. Whoops!

Patch in progress upstream.

Comment 4 Yaniv Kaul 2020-11-05 13:52:31 UTC
(In reply to Greg Farnum from comment #3)
> There's a pretty serious (but easily reparable) error here. The disallowed
> monitor list is not reloaded into the election module when a monitor boots
> up or restarts, only when a new monmap is generated. Whoops!
> 
> Patch in progress upstream.

Any update? Link to upstream patch?

Comment 5 Yaniv Kaul 2020-11-10 20:47:21 UTC
(In reply to Yaniv Kaul from comment #4)
> (In reply to Greg Farnum from comment #3)
> > There's a pretty serious (but easily reparable) error here. The disallowed
> > monitor list is not reloaded into the election module when a monitor boots
> > up or restarts, only when a new monmap is generated. Whoops!
> > 
> > Patch in progress upstream.
> 
> Any update? Link to upstream patch?

?

Comment 6 Greg Farnum 2020-11-15 23:22:22 UTC
Fixed in ceph-4.2-rhel-patches branch.

Comment 12 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