Bug 2081929

Summary: client: add option to disable collecting and sending metrics
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Xiubo Li <xiubli>
Component: CephFSAssignee: Xiubo Li <xiubli>
Status: CLOSED ERRATA QA Contact: Yogesh Mane <ymane>
Severity: high Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 5.1CC: akraj, ceph-eng-bugs, kdreyer, tserlin, vereddy, ymane
Target Milestone: ---   
Target Release: 5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.8-11.el8cp Doc Type: Bug Fix
Doc Text:
.New clients are compatible with old Ceph cluster Previously, new clients were incompatible with old Ceph clusters causing the old clusters to trigger `abort()` to crash the MDS daemons when receiving unknown metrics. With this fix, ensure to check the feature bits in the client and collect and send only those metrics that are supported by MDSs. New clients are compatible with old cephs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-09 17:38:23 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: 2102272    

Description Xiubo Li 2022-05-05 02:46:50 UTC
Description of problem:

When upgrading from the old cephs, for example ceph-16.2.4, which doesn't support the new metrics yet and the MDS daemons will abort themselves directly when they receive unknown metric data.

Version-Release number of selected component (if applicable):


How reproducible:

50%


Steps to Reproduce:
1. Upgrade from ceph-16.2.4 to ceph-16.2.7 or any ceph-17.X.Y.

Actual results:

Upgrading succeeds.

Expected results:

Sometimes will fail.

Additional info:

Comment 1 RHEL Program Management 2022-05-05 02:46:56 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 15 errata-xmlrpc 2022-08-09 17:38:23 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 (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement 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-2022:5997