Bug 2003444

Summary: [IBM] odf metrics data is not shown in odf-console
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Ning Ding <niding>
Component: odf-operatorAssignee: Ning Ding <niding>
Status: CLOSED ERRATA QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: badhikar, ebenahar, jrivera, kramdoss, muagarwa, ocs-bugs, odf-bz-bot
Target Milestone: ---   
Target Release: ODF 4.9.0   
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: 2021-12-13 17:46:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
console result
none
promethues metrics none

Description Ning Ding 2021-09-12 10:24:28 UTC
Description of problem (please be detailed as possible and provide log
snippests):

Metrics data (capacity, performance) is not shown in odf-console page.



Version of all relevant components (if applicable):

quay.io/ocs-dev/odf-console:latest


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)?


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.
2.
3.


Actual results:


Expected results:


Additional info:

Comment 2 Ning Ding 2021-09-12 10:26:47 UTC
Created attachment 1822486 [details]
console result

Comment 3 Ning Ding 2021-09-12 10:27:19 UTC
Created attachment 1822487 [details]
promethues metrics

Comment 4 Bipul Adhikari 2021-09-13 05:49:54 UTC
This is an issue in the IBM metrics exporter. The field `managedBy` is absent. The field should contain the name of the CR(name of the storagesystem) which is reporting the metric.

Comment 5 Ning Ding 2021-09-22 03:16:49 UTC
fixed in https://github.com/IBM/ibm-storage-odf-operator/pull/32
We can close this issue.

Comment 6 krishnaram Karthick 2021-09-24 16:13:52 UTC
(In reply to Ning Ding from comment #5)
> fixed in https://github.com/IBM/ibm-storage-odf-operator/pull/32
> We can close this issue.

Would you be able to verify this bug in a downstream build of ODF?

Comment 8 Ning Ding 2021-09-29 03:14:47 UTC
verified in ibm-storage-odf-operator:0.2.1

Comment 13 errata-xmlrpc 2021-12-13 17:46:17 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 (Moderate: Red Hat OpenShift Data Foundation 4.9.0 enhancement, security, and 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-2021:5086