Description of problem (please be detailed as possible and provide log snippests): When ocs-metrics-exporter is deployed before a CephCluster is created, it fails to get credentials to collect RBD mirror data. As a result, rbd mirror metrics is missing from the exporter. Version of all relevant components (if applicable): ocs-metrics-exporter 4.11 Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? No Is there any workaround available to the best of your knowledge? Yes, restart the ocs-metrics-exporter pod after CephCluster is created. Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 1 Can this issue reproducible? Yes Can this issue reproduce from the UI? Yes If this is a regression, please provide more details to justify this: Steps to Reproduce: 1. Install ODF 4.11 latest internal build 2. Check Prometheus for rbd mirror metrics 3. Actual results: Metrics is missing. Expected results: Metrics should be present. Additional info:
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 (Red Hat OpenShift Data Foundation 4.12.0 enhancement 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/RHBA-2023:0551