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

On an SNO node one of the CatalogSources gets deleted after multiple reboots

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

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

      Description of problem:

      On an SNO node one of the CatalogSources gets deleted after multiple reboots.

      In the initial stage we have 2 catalogsources:

      $ oc get catsrc -A
      NAMESPACE NAME DISPLAY TYPE PUBLISHER AGE
      openshift-marketplace certified-operators Intel SRIOV-FEC Operator grpc Red Hat 20h
      openshift-marketplace redhat-operators Red Hat Operators Catalog grpc Red Hat 18h

      After running several node reboots, one of the catalogsouce doesn't show up anylonger:

      $ oc get catsrc -A
      NAMESPACE NAME DISPLAY TYPE PUBLISHER AGE
      openshift-marketplace certified-operators Intel SRIOV-FEC Operator grpc Red Hat 21h

      Version-Release number of selected component (if applicable):
      4.11.0-fc.3

      How reproducible:
      Inconsistent but reproducible

      Steps to Reproduce:

      1. Deploy and configure SNO node via ZTP process. Configuration sets up 2 CatalogSources in a restricted environment for redhat-operators and certified-operators

      • apiVersion: operators.coreos.com/v1alpha1
        kind: CatalogSource
        metadata:
        name: certified-operators
        namespace: openshift-marketplace
        spec:
        displayName: Intel SRIOV-FEC Operator
        image: registry.kni-qe-0.lab.eng.rdu2.redhat.com:5000/olm/far-edge-sriov-fec:v4.11
        publisher: Red Hat
        sourceType: grpc
      • apiVersion: operators.coreos.com/v1alpha1
        kind: CatalogSource
        metadata:
        name: redhat-operators
        namespace: openshift-marketplace
        spec:
        displayName: Red Hat Operators Catalog
        image: registry.kni-qe-0.lab.eng.rdu2.redhat.com:5000/olm/redhat-operators:v4.11
        publisher: Red Hat
        sourceType: grpc

      2. Reboot the node via `sudo reboot` several times

      3. Check catalogsources

      Actual results:

      $ oc get catsrc -A
      NAMESPACE NAME DISPLAY TYPE PUBLISHER AGE
      openshift-marketplace certified-operators Intel SRIOV-FEC Operator grpc Red Hat 22h

      Expected results:

      All catalogsources created initially are still present.

      Additional info:

      Attaching must-gather.

            rh-ee-cchantse Catherine Chan-Tse
            openshift-crt-jira-prow OpenShift Prow Bot
            bruno andrade bruno andrade
            Red Hat Employee
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: