Bug 2299777

Summary: [8.1] [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: Harsh Kumar <hakumar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.1CC: bhubbard, ceph-eng-bugs, cephqe-warriors, ngangadh, nojha, tserlin, vumrao, yhatuka
Target Milestone: ---   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2349102 (view as bug list) Environment:
Last Closed: 2025-06-26 12:14:12 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:
Bug Depends On:    
Bug Blocks: 2349102    

Description Laura Flores 2024-07-24 22:22:49 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`). I think we make use of this mechanism infrequently.

Comment 1 Storage PM bot 2024-07-24 22:22:58 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 12 errata-xmlrpc 2025-06-26 12:14:12 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 8.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:9775