Description of problem (please be detailed as possible and provide log snippests): The ocs-osd-deployer (the operator that is responsible to deploy OCS in an OpenShit dedicated environment) is deploying a custom monitoring stack (prometous + alertmanager) to comply with the requirements and restrictions enforced by openshift dedicated. This new monitoring stack needs to be able to reconcile and act on all the monitoring resources deployed by the OCS product. Prometheus discovery method for monitoring resources is based on a label selector. As such ocs-csd-deployer needs the ability to add/remove labels on all monitoring resources deployed by the OCS product. Currently, all changes to the labels of monitoring resources deployed by OCS are reverted by the reconcile loop of OCS components. Version of all relevant components (if applicable): Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? Does not allow correct deployment on an openshift dedicated environment Is there any workaround available to the best of your knowledge? no Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? Can this issue reproducible? Can this issue reproduce from the UI? If this is a regression, please provide more details to justify this: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Since this needs to be fixed to enable Managed OCS monitoring, giving devel_ack+ for 4.7.
Elad, can we have qe_ack
Hi Sahina, Ohad, IIUC, QE are being asked just to test regression here, without any specific scenario. Could you please confirm?
Yes, regression is OK in this case. To verify that the default behaviour did not change
Thanks Ohad, QA acking
Moving to VERIFIED based on regression testing using v4.7.0-318.ci
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: Red Hat OpenShift Container Storage 4.7.0 security, bug fix, and enhancement 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:2041