Project

General

Profile

Actions

Feature #22420

closed

Add support for obtaining a list of available compression options

Added by Lenz Grimmer over 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
MonClient, Monitor, OSD
Pull request ID:

Description

According to the documentation, Ceph supports a variety of compression algorithms when creating Pools on BlueStore via pool-specific or global settings. Valid Settings include: lz4, snappy, zlib, zstd

However, the compression algorithms can be enabled/disabled at build time, so the pool creation command can fail if a compression method is chosen that has not been enabled - see bug#20853 for an example when the "lz4" plugin is not available.

This is also a problem for management tools like openATTIC (and likely others) - currently we maintain a static list of compression methods based on the documentation, but have no way to prevent the user from selecting one that's not actually available.

It would be useful to have some programmatic way (e.g. an API call) of obtaining a list of available/enabled compression plugins.


Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #24135: mimic: Add support for obtaining a list of available compression optionsResolvedKefu ChaiActions
Actions

Also available in: Atom PDF