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

Catalog pod in error state, cache digest differs

XMLWordPrintable

    • No
    • CLID Sprint 246
    • 1
    • True
    • Hide

      Not reproduced

      Needs info from reporter

      Show
      Not reproduced Needs info from reporter

      Description of problem:

      Getting error "cache requires rebuild: cache reports digest as \"bcc0baa330d129f1\", but computed digest is \"a6e0a43068d596b6\"" when mirroring the "opentelemetry-operator" for a disconnected openshift cluster.

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

      Openshift 4.12.26

      How reproducible:

      Always

      Steps to Reproduce:

      1. Clear repository (Harbor)
      2. Setup the ImageSetConfiguration:
          apiVersion: mirror.openshift.io/v1alpha2
          kind: ImageSetConfiguration
          storageConfig:
            registry:
              imageURL: xxxxxxxx/yyyyy/imageset:metadata
              skipTLS: false
          mirror:
            operators:
              - catalog: registry.redhat.io/redhat/community-operator-index:v4.12
                # targetTag: v4.12.1
                packages:
                  - name: opentelemetry-operator
                    channels:
                      - name: 'alpha'
                        minVersion: '0.87.0'
      3. do "oc-mirror --config ./image-operator-sync.yaml docker://xxxxxxxx/yyyyy"
      3. Apply CatalogSource object:
         apiVersion: operators.coreos.com/v1alpha1
         kind: CatalogSource
         metadata:
           name: cs-community-operator-index
           namespace: openshift-marketplace
         spec:
           image: xxxxxxxxx/yyyyy/redhat/community-operator-index:v4.12
           sourceType: grpc

      Actual results:

      Pod in error state with log:
      ```
      time="2023-11-15T07:51:47Z" level=fatal msg="cache requires rebuild: cache reports digest as \"bcc0baa330d129f1\", but computed digest is \"a6e0a43068d596b6\""
      ```

      Expected results:

      No error

      Additional info:

      Version of oc-mirror used:
      
      Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.14.0-202310201027.p0.g68cf97e.assembly.stream-68cf97e", GitCommit:"68cf97ec715ad2d78fb2bac411a118709c191719", GitTreeState:"clean", BuildDate:"2023-10-20T23:48:14Z", GoVersion:"go1.20.10 X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}

       

            skhoury@redhat.com Sherine Khoury
            rhn-support-mabajodu Mario Abajo Duran
            ying zhou ying zhou
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: