Bug 1956565 - Need ACM Managed Cluster Info metric enabled for OCP monitoring telemetry
Summary: Need ACM Managed Cluster Info metric enabled for OCP monitoring telemetry
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telemeter
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.7.z
Assignee: lserven
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On: 1945677
Blocks: 2009094
TreeView+ depends on / blocked
 
Reported: 2021-05-03 22:51 UTC by Joydeep Banerjee
Modified: 2021-09-29 23:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1945677
Environment:
Last Closed: 2021-06-15 09:27:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-monitoring-operator pull 1144 0 None open Bug 1956565: manifest allowlist: add acm_managed_cluster_info in 4.7 2021-05-17 14:31:30 UTC
Red Hat Product Errata RHSA-2021:2286 0 None None None 2021-06-15 09:27:55 UTC

Description Joydeep Banerjee 2021-05-03 22:51:17 UTC
+++ This bug was initially created as a clone of Bug #1945677 +++

Description of problem:

This metric is already merged in OCP 4.8 using Bug #1945677

This issue is not for a bug.  To enable a metric from ACM in OCP 4.7 - acm_managed_cluster_info for OCP monitoring telemetry, we need to open a PR against the openshift/cluster-monitoring-operator manifest allowlist.  The monitoring team's process, though, requires that the PR be associated with a Bugzilla issue number.  This metric provides Subscription watch and other information for the managed clusters for an ACM Hub cluster.

Detailed description of this metric is here: https://docs.google.com/document/d/1uvCk73lWQ-LGqFNla6IMRuur5Fj6q59Y2UMpGK5AaWs/edit?usp=sharing


Version-Release number of selected component (if applicable):



How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Junqi Zhao on 2021-04-20 02:38:10 UTC ---

tested with 4.8.0-0.nightly-2021-04-19-121657, acm_managed_cluster_info is in telemetry-config configmap
# oc -n openshift-monitoring get cm telemetry-config -o jsonpath="{.data.metrics\.yaml}" | grep {__name__= | grep acm_managed_cluster_info
- '{__name__="acm_managed_cluster_info"}'

but I think we still need a telemeter PR for the metrics

Comment 1 Junqi Zhao 2021-05-21 02:05:21 UTC
tested with the not merged PR, acm_managed_cluster_info is added to telemeter allowlist
# oc -n openshift-monitoring get cm telemetry-config -o jsonpath="{.data.metrics\.yaml}" | grep {__name__= | grep acm_managed_cluster_info
- '{__name__="acm_managed_cluster_info"}'

Comment 3 Junqi Zhao 2021-05-31 01:58:38 UTC
checked with 4.7.0-0.nightly-2021-05-29-015423, 
# oc -n openshift-monitoring get cm telemetry-config -o jsonpath="{.data.metrics\.yaml}" | grep {__name__= | grep acm_managed_cluster_info
- '{__name__="acm_managed_cluster_info"}'

based on https://bugzilla.redhat.com/show_bug.cgi?id=1945677#c7 and https://bugzilla.redhat.com/show_bug.cgi?id=1945677#c11
since the metrics is added to the allow-list, just wait for the new configuration to production, set it to VERIFIED

Comment 5 Siddharth Sharma 2021-06-04 18:39:12 UTC
This bug will be shipped as part of next z-stream release 4.7.15 on June 14th, as 4.7.14 was dropped due to a regression https://bugzilla.redhat.com/show_bug.cgi?id=1967614

Comment 9 errata-xmlrpc 2021-06-15 09:27:08 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: OpenShift Container Platform 4.7.16 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:2286


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