Bug 2155380 - [RFE] Set single compression algorithm as a default value in ms_osd_compression_algorithm instead of list of algorithms
Summary: [RFE] Set single compression algorithm as a default value in ms_osd_compressi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 6.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 7.0
Assignee: Shreyansh Sancheti
QA Contact: Pawan
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks: 2237662
TreeView+ depends on / blocked
 
Reported: 2022-12-21 04:14 UTC by Prashant Dhange
Modified: 2023-12-13 15:19 UTC (History)
19 users (show)

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.
Clone Of:
Environment:
Last Closed: 2023-12-13 15:19:48 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 49843 0 None Merged rados: Set snappy as default value in ms_osd_compression_algorithm 2023-03-27 18:33:20 UTC
Red Hat Issue Tracker RHCEPH-5827 0 None None None 2022-12-21 04:19:50 UTC
Red Hat Product Errata RHBA-2023:7780 0 None None None 2023-12-13 15:19:53 UTC

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


Note You need to log in before you can comment on or make changes to this bug.