Description of problem: Current storage efficiency card, shows the ratio of `ceph_bluestore_bluestore_compressed_original` and `ceph_bluestore_bluestore_compressed` instead of `ceph_bluestore_bluestore_compressed_original` and `ceph_bluestore_bluestore_compressed_allocated`.`ceph_bluestore_bluestore_compressed` query tells us the new size of the data after compression and not the size required to store the compressed data, as it also depends on min_blob_size of bluestore. Version-Release number of selected component (if applicable): 4.6 How reproducible: 2/2 Steps to Reproduce: 1. Navigate to Storage class creation view 2. Create a compressed pool and a storage class using it. 3. Attach PVC to this storage class and add some data to it. 4. Observe the Storage efficiency card and capacity breakdown card. Actual results: The Storage efficiency card will show high amount of efficiency, but the storage saved will be lesser. Expected results: Storage saved due to compression should match the ratio from storage efficiency card. Additional info:
Compression is showing 2:1 when USED COMPR UNDER COMPR 8.1 GiB 16 GiB moving to verified
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: OpenShift Container Platform 4.7.0 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-2020:5633