Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-29978

OLM operator fails to update due to incorrect olm.targetNamespaces annotation

XMLWordPrintable

    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Operator fails the update due to the olm.targetNamespaces annotation on the deployment being different from what's expected

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          Unknown

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          The operator is stuck to the current version

      Expected results:

          The operator updates to the latest version

      Additional info:

      Error log from the operator csv (configure-alertmanager-operator in this case):

            - lastTransitionTime: "2024-02-13T14:39:14Z"
          lastUpdateTime: "2024-02-13T14:39:14Z"
          message: 'installing: unexpected annotation on deployment. Expected olm.targetNamespaces:nvidia-gpu-operator,openshift-addon-operator,openshift-apiserver,openshift-apiserver-operator,openshift-authentication,openshift-authentication-operator,openshift-cloud-controller-manager,openshift-cloud-controller-manager-operator,openshift-cloud-credential-operator,openshift-cloud-network-config-controller,openshift-cluster-csi-drivers,openshift-cluster-machine-approver,openshift-cluster-node-tuning-operator,openshift-cluster-samples-operator,openshift-cluster-storage-operator,openshift-cluster-version,openshift-codeready-workspaces,openshift-config-operator,openshift-console,openshift-console-operator,openshift-controller-manager,openshift-controller-manager-operator,openshift-custom-domains-operator,openshift-deployment-validation-operator,openshift-dns,openshift-dns-operator,openshift-etcd-operator,openshift-gitops,openshift-image-registry,openshift-ingress,openshift-ingress-operator,openshift-insights,openshift-kube-apiserver,openshift-kube-apiserver-operator,openshift-kube-controller-manager,openshift-kube-controller-manager-operator,openshift-kube-scheduler,openshift-kube-scheduler-operator,openshift-kube-storage-version-migrator,openshift-kube-storage-version-migrator-operator,openshift-machine-api,openshift-machine-config-operator,openshift-managed-node-metadata-operator,openshift-managed-upgrade-operator,openshift-marketplace,openshift-monitoring,openshift-multus,openshift-must-gather-operator,openshift-network-diagnostics,openshift-network-operator,openshift-oauth-apiserver,openshift-ocm-agent-operator,openshift-operator-lifecycle-manager,openshift-osd-metrics,openshift-ovn-kubernetes,openshift-package-operator,openshift-rbac-permissions,openshift-route-controller-manager,openshift-route-monitor-operator,openshift-security,openshift-service-ca-operator,openshift-user-workload-monitoring,openshift-validation-webhook,
            found olm.targetNamespaces:nvidia-gpu-operator,openshift-addon-operator,openshift-apiserver,openshift-apiserver-operator,openshift-authentication,openshift-authentication-operator,openshift-cloud-controller-manager,openshift-cloud-controller-manager-operator,openshift-cloud-credential-operator,openshift-cloud-network-config-controller,openshift-cluster-csi-drivers,openshift-cluster-machine-approver,openshift-cluster-node-tuning-operator,openshift-cluster-samples-operator,openshift-cluster-storage-operator,openshift-cluster-version,openshift-codeready-workspaces,openshift-config-operator,openshift-console,openshift-console-operator,openshift-controller-manager,openshift-controller-manager-operator,openshift-custom-domains-operator,openshift-deployment-validation-operator,openshift-dns,openshift-dns-operator,openshift-etcd-operator,openshift-gitops,openshift-image-registry,openshift-ingress,openshift-ingress-operator,openshift-insights,openshift-kube-apiserver,openshift-kube-apiserver-operator,openshift-kube-controller-manager,openshift-kube-controller-manager-operator,openshift-kube-scheduler,openshift-kube-scheduler-operator,openshift-kube-storage-version-migrator,openshift-kube-storage-version-migrator-operator,openshift-machine-api,openshift-machine-config-operator,openshift-managed-node-metadata-operator,openshift-managed-upgrade-operator,openshift-marketplace,openshift-monitoring,openshift-multus,openshift-must-gather-operator,openshift-network-diagnostics,openshift-network-operator,openshift-oauth-apiserver,openshift-ocm-agent-operator,openshift-operator-lifecycle-manager,openshift-osd-metrics,openshift-ovn-kubernetes,openshift-package-operator,openshift-rbac-permissions,openshift-route-controller-manager,openshift-route-monitor-operator,openshift-security,openshift-service-ca-operator,openshift-user-workload-monitoring,openshift-validation-webhook,openshift-velero'

      The error looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1907381

      I'm adding a must-gather from one of the affected clusters

            krizza@redhat.com Kevin Rizza
            zmird.openshift Zakaria Mird
            Kui Wang Kui Wang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: