Bug 2348968

Summary: [Read Balancer] Decoders of OSDMap use old version for comparison of with struct_compat of DECODE_START
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Laura Flores <lflores>
Component: RADOSAssignee: Laura Flores <lflores>
Status: CLOSED ERRATA QA Contact: skanta
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.1CC: bhubbard, ceph-eng-bugs, cephqe-warriors, nojha, skanta, tserlin, vumrao, yhatuka
Target Milestone: ---   
Target Release: 7.1z4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.1-301.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-07 12:48:19 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:

Description Laura Flores 2025-02-28 01:32:59 UTC
Description of problem:

In https://github.com/ceph/ceph/commit/e9921ee76c060122d64e61a2fe483318a49bc0a9 (the introduction of {rm}-pg-upmap-primary, used in the read balancer), new revisions for client-usable data of `OSDMap` (rev 10) and `OSDMap::Incremental` (rev 9) have been introduced. However, corresponding `DECODE_START` in decoders haven't been bumped up.

The net effect is a blur between the schemas when somebody would intentionally (with malformed_input being thrown) want to break compatibility with decoders on those versions (refer to `struct_compat`).

This is tracked for 8.x in https://bugzilla.redhat.com/show_bug.cgi?id=2299777, but this BZ is for inclusion in 7.x.

Comment 8 errata-xmlrpc 2025-05-07 12:48:19 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 7.1 security, bug fix, and enhancement updates), 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-2025:4664