Bug 2257817 - In multiStorageCluster , metrics values are showing as zero for external storagesystem
Summary: In multiStorageCluster , metrics values are showing as zero for external stor...
Keywords:
Status: CLOSED DUPLICATE of bug 2255036
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: umanga
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-11 07:26 UTC by narayanspg
Modified: 2024-01-16 13:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-01-16 13:03:49 UTC
Embargoed:


Attachments (Terms of Use)

Description narayanspg 2024-01-11 07:26:45 UTC
Description of problem (please be detailed as possible and provide log
snippests):
 In multiStorageCluster , metrics values like "Raw Capacity,Used capacity,IOPS	,Throughput,Latency"  are showing as zero for external storagesystem. 
for internal storagesystem we can see the values. 

if we create ODF with only external storagesystem we can see the values. 
when we create ODF with internal storagesystem and add external storagesystem then values are shown correctly only for internal storagesystem not external one. attached screenshot for reference.

Version of all relevant components (if applicable):
[root@nara6-6b35-bastion-0 ~]# oc get clusterversion
NAME      VERSION       AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.15.0-rc.1   True        False         48m     Cluster version is 4.15.0-rc.1
[root@nara6-6b35-bastion-0 ~]#
[root@nara6-6b35-bastion-0 ~]# oc get storagecluster -A
NAMESPACE                    NAME                          AGE     PHASE   EXTERNAL   CREATED AT             VERSION
openshift-storage-extended   ocs-external-storagecluster   3m10s   Ready   true       2024-01-11T07:21:21Z   4.15.0
openshift-storage            ocs-storagecluster            16m     Ready              2024-01-11T07:07:42Z   4.15.0
[root@nara6-6b35-bastion-0 ~]#
[root@nara6-6b35-bastion-0 ~]# oc get csv -A
NAMESPACE                              NAME                                          DISPLAY                       VERSION               REPLACES   PHASE
openshift-local-storage                local-storage-operator.v4.15.0-202311280332   Local Storage                 4.15.0-202311280332              Succeeded
openshift-operator-lifecycle-manager   packageserver                                 Package Server                0.0.1-snapshot                   Succeeded
openshift-storage                      mcg-operator.v4.15.0-113.stable               NooBaa Operator               4.15.0-113.stable                Succeeded
openshift-storage                      ocs-operator.v4.15.0-113.stable               OpenShift Container Storage   4.15.0-113.stable                Succeeded
openshift-storage                      odf-csi-addons-operator.v4.15.0-113.stable    CSI Addons                    4.15.0-113.stable                Succeeded
openshift-storage                      odf-operator.v4.15.0-113.stable               OpenShift Data Foundation     4.15.0-113.stable                Succeeded
[root@nara6-6b35-bastion-0 ~]#



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?


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. Install OCP cluster
2. Install ODF.
3. Create internal storagesystem
4. Create external storagesystem
5. In the UI, Navigate to Data Foundation and Storage Systems, we can see both the storagesystems but metrics are shown zero for external storage system.

Actual results:
In the UI, Navigate to Data Foundation and Storage Systems, we can see both the storagesystems but metrics are shown zero for external storage system. for internal storagesystem the metrics are shown correctly.

Expected results:
In the UI, Navigate to Data Foundation and Storage Systems, we can see both the storagesystems metrics should be shown correctly for external storage system as well.

Additional info:

Comment 6 umanga 2024-01-16 13:03:49 UTC

*** This bug has been marked as a duplicate of bug 2255036 ***


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