Hide Forgot
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: always 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:
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
*** Bug 2033057 has been marked as a duplicate of this bug. ***
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. https://access.redhat.com/errata/RHSA-2022:0056