Bug 2091487 - [Hybrid Console] Multicluster dashboard is not displaying any metrics
Summary: [Hybrid Console] Multicluster dashboard is not displaying any metrics
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.12.0
Assignee: gowtham
QA Contact: kmanohar
URL:
Whiteboard:
Depends On: 2099808
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-30 05:42 UTC by gowtham
Modified: 2023-08-09 16:46 UTC (History)
8 users (show)

Fixed In Version: 4.11.0-89
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-24 13:54:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 247 0 None open Bug 2091487: [release-4.11] Fix ACM thanos proxy URL 2022-05-30 14:57:08 UTC
Github red-hat-storage odf-console pull 248 0 None open Bug 2091487: [release-4.11-compatibility] Fix ACM thanos proxy URL 2022-05-30 14:55:53 UTC
Red Hat Product Errata RHSA-2022:6156 0 None None None 2022-08-24 13:54:15 UTC

Description gowtham 2022-05-30 05:42:56 UTC
Description of problem (please be detailed as possible and provide log
snippets):

The Hub cluster does not display any metrics under the multicluster cluster monitoring dashboard on the hybrid console.


Version of all relevant components (if applicable):

Hub:
  OCP         4.11.0-0.nightly-2022-05-25-193227
  ACM         2.5(pre-release)
  ODF-MCO     4.11 build '4.11.0-80

Managed Cluster:
  OCP              4.11.0-0.nightly-2022-05-25-193227
  ODF-Operator     4.11 build '4.11.0-80



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?
100%

Can this issue reproduce from the UI?
100%

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


Steps to Reproduce:
On Hub:
1. Create one or more OCP setups with OCP 4.11.
2. Install ACM 2.5 pre-release downstream operator by following: 
    https://github.com/stolostron/deploy
3. Enable feature gate to convert OCP console to hybrid console:
    https://gist.github.com/TheRealJon/921905a74329891e1f2153a2d57aa44d#enable-the-tech-preview-feature-gate
4. Install ODF-Multicluster-Orchestrator operator of 4.11 version.
5. Enable the Plugin option while installing ODF-MCO.
6. Enable observability on ACM. (https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.4/html/observability/observing-environments-intro#enable-observability) (1.2. Enable observability service)
7. Whitelist ODF metrics on hub cluster as per Link (1.3.3. Adding custom metrics), 
Use the below YAML to whitelist the ODF metrics.

oc apply -f yaml-file-name.yaml

```
kind: ConfigMap
apiVersion: v1
metadata:
  name: observability-metrics-custom-allowlist
  Namespace: open-cluster-management-observability
data:
  metrics_list.yaml: |
    names:
      - odf_system_health_status
      - odf_system_map
      - odf_system_raw_capacity_total_bytes
      - odf_system_raw_capacity_used_bytes
    matches:
      - __name__="csv_succeeded",exported_namespace="openshift-storage",name=~"odf-operator.*"

```
8. Once observability-metrics-custom-allowlist YAML is created, ACM will started collecting the whitelisted ODF metrics from all the managed clusters.
9. Got to "All Cluster"  view from hybrid console dropdown.
10. Got to "Data Services" -> "Storage System", Dashboard won't display any metrics.


On Managed Clusters:
1. Create one or more OCP setups with OCP 4.11.
2. Install 4.11 ODF-Operator 
3. Create StorageSystem of OCS type.




Actual results:
The multicluster dashboard is not displaying any metrics

Expected results:
Once observability is enabled on ACM and ODF metrics are whitlisted then the multicluster dashboard should display the metrics.

Additional info:

Comment 13 errata-xmlrpc 2022-08-24 13:54:05 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.11.0 security, enhancement, & bugfix 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:6156


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