Bug 2155380

Summary: [RFE] Set single compression algorithm as a default value in ms_osd_compression_algorithm instead of list of algorithms
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Prashant Dhange <pdhange>
Component: RADOSAssignee: Shreyansh Sancheti <ssanchet>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: medium    
Version: 6.0CC: akraj, akupczyk, amathuri, bhubbard, ceph-eng-bugs, cephqe-warriors, choffman, kdreyer, ksirivad, lflores, nojha, pdhange, rfriedma, rpollack, rzarzyns, skanta, ssanchet, sseshasa, vumrao
Target Milestone: ---Keywords: FutureFeature
Target Release: 7.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-18.2.0-1 Doc Type: Bug Fix
Doc Text:
. `ms_osd_compression_algorithm` now displays the correct value Previously, an incorrect value in `ms_osd_compression_algorithm` displayed a list of algorithms instead of the default value, causing a discrepancy by listing a set of algorithms instead of one. With this fix, the default is that the only the default value is displayed when using the `ms_osd_compression_algorithm` command.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-13 15:19:48 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: 2237662    

Description Prashant Dhange 2022-12-21 04:14:26 UTC
Description of problem:
The default value for the compression parameter "ms_osd_compression_algorithm" is assigned to four different algorithms. This is a bit confusing as we donot know which algorithm is in use by the OSDs. The OSDs choose the preferred algorithm based on mutual understanding between OSDs.

[ceph: root@magna052 ceph]# ceph config get mon ms_osd_compression_algorithm
snappy zlib zstd lz4

Version-Release number of selected component (if applicable):
ceph version 17.2.5-16.el9cp (4d057f2235421ac73034c5e40dbe98f309164079) quincy (stable)

How reproducible:
Frequently

Steps to Reproduce:
1. Install cluster with 6.0 build
2. Execute "ceph config get mon ms_osd_compression_algorithm" command

Actual results:
The ms_osd_compression_algorithm option have default value set to "snappy zlib zstd lz4" list of algorithms.

Expected results:
The ms_osd_compression_algorithm option should have default value set to either of snappy, zlib, zstd, lz4 algorithms.


Additional info:
Refer BZ#2152449

Comment 25 errata-xmlrpc 2023-12-13 15:19:48 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 7.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-2023:7780