-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
4.12.z
-
Quality / Stability / Reliability
-
True
-
-
None
-
None
-
No
-
None
-
None
-
CLID Sprint 246
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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"}
- depends on
-
OCPBUGS-31536 `oc mirror --config` command failed with exit status 1
-
- Closed
-
-
OCPBUGS-33575 [release-4.15] `oc mirror --config` command failed with exit status 1
-
- Closed
-
- relates to
-
OCPBUGS-17546 pod catalogsource generated by oc-mirror will crashloopBackOff randomly
-
- Closed
-