Bug 2030364 - Shared resource CSI driver monitoring is not setup correctly
Summary: Shared resource CSI driver monitoring is not setup correctly
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.10
Hardware: All
OS: All
Target Milestone: ---
: 4.10.0
Assignee: Alice Rum
QA Contact: Priti Kumari
: 2033057 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2021-12-08 15:01 UTC by Alice Rum
Modified: 2022-03-10 16:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-03-10 16:32:46 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift cluster-storage-operator pull 243 0 None Merged Bug 2030364: Setup port, mount TLS cert into CSI shared resource operator 2021-12-17 00:00:05 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:33:11 UTC

Description Alice Rum 2021-12-08 15:01:19 UTC
Description of problem:

The way CSO sets up the csi shared resource operator is such that monitoring metrics are not gathered by the prometheus server. Container port is not set up at all and TLS secrets are not mounted into the operator.

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

How reproducible:

Steps to Reproduce:
1. log into the web console of the OpenShift cluster
2. observe -> metrics
3. Try to look for openshift_csi_share_configmap_total metric.
4. oc exec <share resource operator pod> curl http://localhost:6000/metrics

Actual results:
In the 4th step metric should be there being output by the metric server, but in the 3rd step it is not in the prometheus.

Expected results:
Metric is available in both places.

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 2 Priti Kumari 2021-12-16 09:28:52 UTC
I have verified the metrics using console and the csi metrics are available.

1. openshift_csi_share_secret
2. openshift_csi_share_configmap
3. openshift_csi_share_mount_failures_total
4. openshift_csi_share_mount_requests_total

Comment 3 Gabe Montero 2021-12-16 22:48:38 UTC
*** Bug 2033057 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2022-03-10 16:32:46 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.10.3 security 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.


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