This is a clone of issue OCPBUGS-57461. The following is the description of the original issue:
—
Description of problem:
Run oc-mirror d2m in an air-gapped env. oc-mirror shows error: 2025/06/13 18:43:09 [ERROR] : collection error: collect catalog “registry.redhat.io/redhat/redhat-operator-index:v4.17”: initializing source docker://registry.redhat.io/redhat/redhat-operator-index:v4.17: pinging container registry registry.redhat.io: Get “http://registry.redhat.io/v2/”: net/http: HTTP/1.x transport connection broken: unexpected EOF
Version-Release number of selected component (if applicable):
4.18.0-202506021034.p0.g1b20848.assembly.stream.el9-1b20848
How reproducible:
Always
Steps to Reproduce:
1. Do m2d 2. Copy ISC and tar file into the air-gapped env. 3. Load the tar file using d2m Config: kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v2alpha1 mirror: platform: channels: - name: stable-4.17 minVersion: 4.17.16 maxVersion: 4.17.16 type: ocp graph: true operators: - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.17 packages: - name: kiali-ossm channels: - name: stable - name: web-terminal channels: - name: fast $ ls -l total 28464656 -rw-------. 1 steve steve 828 Jun 14 11:41 imageset-config-save.yaml -rw-r--r--. 1 steve steve 29147250688 Jun 13 13:40 mirror_000001.tar drwxr-xr-x. 10 steve steve 165 Jun 14 11:42 working-dir Debug output: https://redhat-internal.slack.com/archives/C02JW6VCYS1/p1749872435013999?thread_ts=1749811523.774629&cid=C02JW6VCYS1
Actual results:
https://redhat-internal.slack.com/archives/C02JW6VCYS1/p1749872435013999?thread_ts=1749811523.774629&cid=C02JW6VCYS1
Expected results:
I would expect oc-mirror to load all images from d2m without error.
Additional info:
https://redhat-internal.slack.com/archives/C02JW6VCYS1/p1749811523774629
- blocks
-
OCPBUGS-57964 oc-mirror errors out showing it trying to fetch from registry.redhat.io, in air-gapped env.
-
- Closed
-
- clones
-
OCPBUGS-57461 oc-mirror errors out showing it trying to fetch from registry.redhat.io, in air-gapped env.
-
- Verified
-
- is blocked by
-
OCPBUGS-57461 oc-mirror errors out showing it trying to fetch from registry.redhat.io, in air-gapped env.
-
- Verified
-
- is cloned by
-
OCPBUGS-57964 oc-mirror errors out showing it trying to fetch from registry.redhat.io, in air-gapped env.
-
- Closed
-
- is duplicated by
-
OCPBUGS-61549 oc-mirror v2 diskToMirror unable to collect catalog
-
- Closed
-
- links to
-
RHBA-2025:9750 OpenShift Container Platform 4.19.2 bug fix update