Bug 2030602 - MCG not reporting standardized metric correctly for usage
Summary: MCG not reporting standardized metric correctly for usage
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.10.0
Assignee: Liran Mauda
QA Contact: Anna Sandler
URL:
Whiteboard:
Depends On:
Blocks: 2030718 2033368
TreeView+ depends on / blocked
 
Reported: 2021-12-09 09:17 UTC by Bipul Adhikari
Modified: 2023-08-09 16:49 UTC (History)
7 users (show)

Fixed In Version: 4.10.0-50
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2030718 2033368 (view as bug list)
Environment:
Last Closed: 2022-04-13 18:50:40 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github noobaa noobaa-mixins pull 28 0 None Merged Changed the metric used for odf_system_raw_capacity_used_bytes 2021-12-15 09:54:15 UTC
Github noobaa noobaa-operator pull 812 0 None Merged Updating prometheus-rules for odf 2021-12-15 09:54:15 UTC
Red Hat Product Errata RHSA-2022:1372 0 None None None 2022-04-13 18:51:13 UTC

Description Bipul Adhikari 2021-12-09 09:17:48 UTC
Description of problem (please be detailed as possible and provide log
snippests):
The recording rule for `odf_system_raw_capacity_used_bytes` is not reporting correct values


Version of all relevant components (if applicable):
1/1

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge? No


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
Yes


Can this issue reproduce from the UI?
Yes

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Go to OCP -> Observere -> Metrics
2. Put `odf_system_raw_capacity_used_bytes` as a query and run


Actual results:
Reports value as 1B

Expected results:
Should report actual value. 


Additional info:

Comment 5 Anna Sandler 2022-01-24 18:42:09 UTC
Metric is reported as needed. see attached file. 
tested different time intervals and graph is shown as expected 

 oc get csv -A
NAMESPACE                              NAME                              DISPLAY                       VERSION   REPLACES   PHASE
openshift-operator-lifecycle-manager   packageserver                     Package Server                0.19.0               Succeeded
openshift-storage                      mcg-operator.v4.10.0              NooBaa Operator               4.10.0               Succeeded
openshift-storage                      ocs-operator.v4.10.0              OpenShift Container Storage   4.10.0               Succeeded
openshift-storage                      odf-csi-addons-operator.v4.10.0   CSI Addons                    4.10.0               Succeeded
openshift-storage                      odf-operator.v4.10.0              OpenShift Data Foundation     4.10.0               Succeeded

moving to verified

Comment 10 errata-xmlrpc 2022-04-13 18:50:40 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 (Important: Red Hat OpenShift Data Foundation 4.10.0 enhancement, security & 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/RHSA-2022:1372


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