Details
Description
Description of problem:
Oc-mirror hit error when mirror operator for diskToMirror mode: errArray copying image 1/4 from manifest list: reading config blob sha256:fde9cd04ec3f7a272adbcbda875ee0e79f958ef6da21ca03f23618a6917d20b0: fetching blob: received unexpected HTTP status: 502 Bad Gateway
Version-Release number of selected component (if applicable):
oc-mirror version WARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.16.0-202403070215.p0.gc4f8295.assembly.stream.el9-c4f8295", GitCommit:"c4f829512107f7d0f52a057cd429de2030b9b3b3", GitTreeState:"clean", BuildDate:"2024-03-07T03:46:24Z", GoVersion:"go1.21.7 (Red Hat 1.21.7-1.el9) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
sometimes (not 100% reproduced)
Steps to Reproduce:
1) cat config-op-1.yaml kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v1alpha2 mirror: operators: - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.12 packages: - name: multicluster-engine channels: - name: stable-2.1 - name: stable-2.2 - name: stable-2.3 - name: stable-2.4 - name: stable-2.5
Actual results:
4) the mirror failed: oc-mirror --config config-op-1.yaml file://out --v2 --v2 flag identified, flow redirected to the oc-mirror v2 version. PLEASE DO NOT USE that. V2 is still under development and it is not ready to be used. 2024/03/21 07:02:06 [INFO] : mode mirrorToDisk 2024/03/21 07:02:06 [INFO] : local storage registry will log to /app1/0321/out/working-dir/logs/registry.log 2024/03/21 07:02:06 [INFO] : starting local storage on localhost:55000 2024/03/21 07:02:06 [INFO] : copying cincinnati response to out/working-dir/release-filters 2024/03/21 07:02:06 [INFO] : total release images to copy 0 2024/03/21 07:02:06 [INFO] : copying operator image registry.redhat.io/redhat/redhat-operator-index:v4.12 2024/03/21 07:02:09 [INFO] : manifest 9b12ce1683071e876fdd0f50477907301ddfc70a631a85bf99d7a2a6e6890a9c 2024/03/21 07:02:09 [INFO] : label /configs 2024/03/21 07:02:27 [INFO] : related images length 6 2024/03/21 07:02:27 [INFO] : images to copy (before duplicates) 187 2024/03/21 07:02:27 [INFO] : total operator images to copy 187 2024/03/21 07:02:27 [INFO] : total additional images to copy 0 2024/03/21 07:02:27 [INFO] : images to mirror 187 2024/03/21 07:02:27 [INFO] : batch count 23 2024/03/21 07:02:27 [INFO] : batch index 0 2024/03/21 07:02:27 [INFO] : batch size 8 2024/03/21 07:02:27 [INFO] : remainder size 3 2024/03/21 07:02:27 [INFO] : starting batch 0 2024/03/21 07:02:48 [INFO] : completed batch 0 2024/03/21 07:02:48 [INFO] : starting batch 1 2024/03/21 07:03:01 [INFO] : completed batch 1 2024/03/21 07:03:01 [INFO] : starting batch 2 2024/03/21 07:03:24 [INFO] : completed batch 2 2024/03/21 07:03:24 [INFO] : starting batch 3 2024/03/21 07:03:36 [INFO] : completed batch 3 2024/03/21 07:03:36 [INFO] : starting batch 4 2024/03/21 07:04:05 [INFO] : completed batch 4 2024/03/21 07:04:05 [ERROR] : [Worker] errArray copying image 1/4 from manifest list: reading config blob sha256:fde9cd04ec3f7a272adbcbda875ee0e79f958ef6da21ca03f23618a6917d20b0: fetching blob: received unexpected HTTP status: 502 Bad Gateway 2024/03/21 07:04:05 [ERROR] : [Worker] error in batch - refer to console logs
Expected results:
4) No errors
Attachments
Issue Links
- clones
-
OCPBUGS-31246 Mirror should not hit error when delete the data under OC_MIRROR_CACHE
- New