Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-3424

PrometheusOperatorRejectedResources alerts when GitOps Operator is not installed in "openshift-gitops-operator"

XMLWordPrintable

    • 5
    • False
    • None
    • False
    • Hide
      Before this update, users would be faced with `PrometheusOperatorRejectedResources` alerts when the gitops-operator was not installed in the `openshift-gitops-operator` namespace, which affected users who upgraded from earlier versions to v1.10. This update fixes the issue by updating the operator's metrics service `serverName` to reflect the correct installation namespace . Now, users who install/upgrade the GitOps operator in namespaces other `openshift-gitops-operator` should no longer see these alerts.
      Show
      Before this update, users would be faced with `PrometheusOperatorRejectedResources` alerts when the gitops-operator was not installed in the `openshift-gitops-operator` namespace, which affected users who upgraded from earlier versions to v1.10. This update fixes the issue by updating the operator's metrics service `serverName` to reflect the correct installation namespace . Now, users who install/upgrade the GitOps operator in namespaces other `openshift-gitops-operator` should no longer see these alerts.
    • GITOPS Sprint 3248
    • Important
    • Customer Facing

      Description of problem:

      With OpenShift GitOps 1.10, the default namespace for the GitOps Operator has been changed to "openshift-gitops-operator". However, existing installations still use the old default "openshift-operators" namespace.

      The issue and workaround (manually update the ServiceMonitor) is documented here: https://access.redhat.com/solutions/7036961

      However, we should be backwards-compatible and this should be done automatically by the Operator. I would expect that when an existing OpenShift GitOps installation is updated from 1.9 to 1.10, there are no errors or issues arising from that. OpenShift GitOps should also work without errors when installed in the "openshift-operators" namespace (as it was default in < 1.9).

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. On OpenShift Container Platform, install OpenShift GitOps 1.9 and install it in the default "openshift-operators" namespace
      2. Upgrade to OpenShift GitOps 1.10

      Actual results:

      After upgrade, an PrometheusOperatorRejectedResources alert is firing, need to apply the steps outlined in https://access.redhat.com/solutions/7036961 to fix it

      Expected results:

      No errors or additional alerts are shown, the old namespace works as expected

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              jrao@redhat.com Jaideep Rao
              rhn-support-skrenger Simon Krenger
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: