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

The Catalog Operator attempts to connect to deleted catalogSources

    • Important
    • No
    • Zubat OLM Sprint 260
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-38290. The following is the description of the original issue:

      Description of problem:

      OLM still check the deleted catsrc of openshift-marketplace

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

      4.13

      How reproducible:

      not always

      Steps to Reproduce:

      https://gcsweb-qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/qe-private-deck/logs/periodic-ci-openshift-openshift-tests-private-release-4.13-amd64-nightly-gcp-ipi-sdn-p1-f7/1632127504539979776/artifacts/gcp-ipi-sdn-p1-f7/openshift-extended-test/build-log.txt

       

      In daily CI, we met this issue several times.
      for example:
      https://gcsweb-qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/qe-private-deck/logs/periodic-ci-openshift-openshift-tests-private-release-4.13-amd64-nightly-gcp-ipi-sdn-p1-f7/1632127504539979776/artifacts/gcp-ipi-sdn-p1-f7/openshift-extended-test/build-log.txt
      
      prometheus-dependency1-cs has been deleted, but many sub are installed failed due to ErrorPreventedResolution.
      
      "message": "failed to populate resolver cache from source prometheus-dependency1-cs/openshift-marketplace: failed to list bundles: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup prometheus-dependency1-cs.openshift-marketplace.svc on 172.30.0.10:53: no such host\"",
                      "reason": "ErrorPreventedResolution",
                      "status": "True",
                      "type": "ResolutionFailed"
      
      2023-03-04T22:35:00.761837299Z time="2023-03-04T22:35:00Z" level=info msg="removed client for deleted catalogsource" source="{prometheus-dependency1-cs openshift-marketplace}"
      
       4114 2023-03-04T22:39:38.039489890Z E0304 22:39:38.039410       1 queueinformer_operator.go:298] sync "e2e-test-olm-a-fa98jfef-sxnxr" failed: failed to populate resolver cach      e from source prometheus-dependency1-cs/openshift-marketplace: failed to list bundles: rpc error: code = Unavailable desc = connection error: desc = "transport: Error wh      ile dialing dial tcp: lookup prometheus-dependency1-cs.openshift-marketplace.svc on 172.30.0.10:53: no such host"

      Actual results:

      The deleted catsrc impacts sub installation.

      Expected results:

      The deleted catsrc should not impact sub installation.

      Additional info:

       

            [OCPBUGS-38610] The Catalog Operator attempts to connect to deleted catalogSources

            Errata Tool added a comment -

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (Important: OpenShift Container Platform 4.12.67 bug fix and 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.
            https://access.redhat.com/errata/RHSA-2024:7590

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (Important: OpenShift Container Platform 4.12.67 bug fix and 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. https://access.redhat.com/errata/RHSA-2024:7590

            Xia Zhao added a comment -

            pre-verify

            xzha@xzha1-mac openshift-tests-private % oc get clusterversion
            NAME      VERSION                                                AVAILABLE   PROGRESSING   SINCE   STATUS
            version   4.12.0-0.test-2024-09-27-021719-ci-ln-bbrlq9b-latest   True        False         69m     Cluster version is 4.12.0-0.test-2024-09-27-021719-ci-ln-bbrlq9b-latest
            xzha@xzha1-mac openshift-tests-private % oc exec olm-operator-7d76887c4d-sc2qk  -- olm --version
            OLM version: 0.19.0
            git commit: 439516caa343d27d74f432c542fdb84ae3eb75d5 

            run CI test cases, no such issue

            Xia Zhao added a comment - pre-verify xzha@xzha1-mac openshift-tests- private % oc get clusterversion NAME      VERSION                                                AVAILABLE   PROGRESSING   SINCE   STATUS version   4.12.0-0.test-2024-09-27-021719-ci-ln-bbrlq9b-latest   True        False         69m     Cluster version is 4.12.0-0.test-2024-09-27-021719-ci-ln-bbrlq9b-latest xzha@xzha1-mac openshift-tests- private % oc exec olm- operator -7d76887c4d-sc2qk  -- olm --version OLM version: 0.19.0 git commit: 439516caa343d27d74f432c542fdb84ae3eb75d5 run CI test cases, no such issue

            Jian Zhang added a comment -

            Jian Zhang added a comment - cc: rhn-support-xzha  

            Looks like this was never closed. Repurposing this for the 4.12 backport. 

            Anik Bhattacharjee added a comment - Looks like this was never closed. Repurposing this for the 4.12 backport. 

            rhn-support-jiazha yes two got created somehow. The other one's been closed as duplicate. 

            Anik Bhattacharjee added a comment - rhn-support-jiazha yes two got created somehow. The other one's been closed as duplicate. 

            Todd Short added a comment -

            Not a release blocker, reported against 4.13/4.12

            Todd Short added a comment - Not a release blocker, reported against 4.13/4.12

            Jian Zhang added a comment -

            Hi anik120 , I guess this issue is a duplicate of OCPBUGS-38611, can we close this one? Thanks!

            Jian Zhang added a comment - Hi anik120 , I guess this issue is a duplicate of OCPBUGS-38611 , can we close this one? Thanks!

              anik120 Anik Bhattacharjee
              anik120 Anik Bhattacharjee
              Xia Zhao Xia Zhao
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: