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):
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
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.
Metric is available in both places.
Node Log (of failed PODs):
StorageClass Dump (if StorageClass used by PV/PVC):
I have verified the metrics using console and the csi metrics are available.
*** 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.