Bug 1893015
Summary: | Storage efficiency card showing wrong compression ratio | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
Component: | Console Storage Plugin | Assignee: | Kanika Murarka <kmurarka> |
Status: | CLOSED ERRATA | QA Contact: | Shay Rozen <srozen> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.6 | CC: | aos-bugs, jespy, kmurarka, nthomas, oviner, srozen |
Target Milestone: | --- | ||
Target Release: | 4.6.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-30 16:45:31 UTC | Type: | --- |
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: | 1891999 | ||
Bug Blocks: |
Description
OpenShift BugZilla Robot
2020-10-29 22:26:38 UTC
POOL ID STORED OBJECTS USED %USED MAX AVAIL QUOTA OBJECTS QUOTA BYTES DIRTY USED COMPR UNDER COMPR p-rep3comp 19 10 GiB 2.63k 22 GiB 3.52 199 GiB N/A N/A 2.63k 8.2 GiB 16 GiB The ratio shows which is got as we see 16GiB that where compressed into 8.2GiB But I have a problem with the saving that shows only 5.48 GiB The client sent 10g which with replica 3 should be 30g and now it is 22g so the saving should like 8G. Also we can see that 16g where comporessed to 8.2g so something is wrong with the saving value. How it is calculated? The query for saving and ratio are same (one gives the ratio and other gives the difference) ratio: sum(ceph_bluestore_bluestore_compressed_original) / clamp_min(sum(ceph_bluestore_bluestore_compressed_allocated),1) saved: (sum(ceph_bluestore_bluestore_compressed_original) - sum(ceph_bluestore_bluestore_compressed_allocated)) I will suggest to open a different bug for saving, as this bug is for compression ratio. (In reply to Kanika Murarka from comment #8) > The query for saving and ratio are same (one gives the ratio and other gives > the difference) > ratio: sum(ceph_bluestore_bluestore_compressed_original) / > clamp_min(sum(ceph_bluestore_bluestore_compressed_allocated),1) > saved: (sum(ceph_bluestore_bluestore_compressed_original) - > sum(ceph_bluestore_bluestore_compressed_allocated)) > > I will suggest to open a different bug for saving, as this bug is for > compression ratio. Verifying and will open another BZ for the saving issue 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 (OpenShift Container Platform 4.6.6 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-2020:5115 |