-
Bug
-
Resolution: Done
-
Undefined
-
None
-
4.13.z, 4.12.z, 4.11.z, 4.10.z
-
None
-
Moderate
-
No
-
1
-
OSDOCS Sprint 234
-
1
-
False
-
Description of problem:
https://docs.openshift.com/container-platform/4.10/installing/disconnected_install/installing-mirroring-installation-images.html We have here the following statement: To create the installation program that is based on the content that you mirrored, extract it and pin it to the release: If your mirror host does not have internet access, run the following command: $ oc adm release extract -a ${LOCAL_SECRET_JSON} --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}" If the local container registry is connected to the mirror host, run the following command: $ oc adm release extract -a ${LOCAL_SECRET_JSON} --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}-${ARCHITECTURE}" Which is partially valid.
Version-Release number of selected component (if applicable):
4.10+
How reproducible:
oc adm release extract \ -a </path/to>/pull-secret.json \ --command=openshift-install \ <my-registry.example.com>:5000/ocp-release:4.12.0-x86_64 error: unable to read image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:1739c7cf0844140d041edce5e99654e9276ca9b2542ec00c4fd327495dbd6cf5: Get "https://quay.io/v2/": dial tcp: lookup quay.io on [::1]:53: read udp [::1]:45292->[::1]:53: read: connection refused
Steps to Reproduce:
refer to https://access.redhat.com/solutions/7003109 Diagnostic Steps
Actual results:
mirroring fails in fully disconnected env
Expected results:
documentation is also mentioning the right steps for fully disconnected envs
Additional info:
see https://access.redhat.com/solutions/7003109