Bug 2025079

Summary: stretch mode: blocks kernel rbd and CephFS from mounting
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Christina Meno <gmeno>
Component: RADOSAssignee: Greg Farnum <gfarnum>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.0CC: akupczyk, amathuri, aoconnor, bhubbard, ceph-eng-bugs, gfarnum, idryomov, jarrpa, kdreyer, ksirivad, lflores, madam, mmuench, mrajanna, muagarwa, nojha, ocs-bugs, pbalogh, pdhange, pdhiran, ratamir, rcyriac, rfriedma, rtalur, rzarzyns, sabose, sostapov, sseshasa, sunkumar, tserlin, vavuthu, vereddy, vumrao
Target Milestone: ---Keywords: Automation
Target Release: 5.0z2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.0-146.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2022190 Environment:
Last Closed: 2021-12-08 13:57:04 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: 2022190    
Bug Blocks: 2021068    

Comment 1 Christina Meno 2021-11-19 20:22:09 UTC
Just cherry-pick -x 'd

commit 4b59d31390d61016525eb2bd4537027ec72e54c6 (HEAD -> ceph-5.0-rhel-patches, patches/ceph-5.0-rhel-patches)
Author: Greg Farnum <gfarnum>
Date:   Thu Nov 11 20:20:11 2021 +0000

    mon: MonMap: do not increase mon_info_t's compatv in stretch mode, for real
    
    This was supposed to be fixed a year ago in commit
    2e3643647bfbe955b54c62c8aaf114744dedb86e, but it set compat_v to 4 instead of all
    the way back to 1 as it should have.
    
    Our testing for stretch mode in these areas is just not very thorough -- the
    kernel only supports compat_v 1 and apparently nobody's noticed the issue
    since then? :/
    As the prior commit says, you can't set locations without being gated on a
    server feature bit, so simply cancelling this enforcement is completely safe.
    
    Fixes: https://tracker.ceph.com/issues/53237
    
    Signed-off-by: Greg Farnum <gfarnum>
    (cherry picked from commit ccb1b7eb8baf5f222109e77c168db39e699b6934)

and pushed to ceph-5.0-rhel-patches

Comment 2 Greg Farnum 2021-11-19 20:29:50 UTC
LGTM

Comment 9 errata-xmlrpc 2021-12-08 13:57:04 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 (Red Hat Ceph Storage 5.0 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/RHBA-2021:5020