-
Bug
-
Resolution: Done
-
Minor
-
None
-
4.13, 4.12.z
-
None
-
Quality / Stability / Reliability
-
False
-
-
1
-
None
-
None
-
None
-
None
-
None
-
OSDOCS Sprint 268, OSDOCS Sprint 269, OSDOCS Sprint 274, OSDOCS Sprint 275, OSDOCS Sprint 276, OSDOCS Sprint 277, OSDOCS Sprint 278, OSDOCS Sprint 279, OSDOCS sprint 280, OSDOCS Sprint 281, OSDOCS Sprint 282
-
11
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
The oc adm extract command for disconnected environment does not work and should either be removed or the client should be fixed
Version-Release number of selected component (if applicable):
all versions
How reproducible:
always
Steps to Reproduce:
1. Mirror openshift and push to a pivate registry using the mirror-registry or a container registry
2. ensure you don't have access to internet or at least quay.io (can be accomplished by updating /etc/hosts and adding the following two lines into the file
127.0.0.1 quay.io
::1 quay.io
3.ensure the mirror-registry or the container registry is running and run the command as listed in the documentation oc adm release extract -a ${LOCAL_SECRET_JSON} --icsp-file=<file> \ --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}"
Actual results:
You
error: unable to read image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:b65a610af3f294674c16b98e82f10e75caf0ff89aea0cf3fd0854a683b9e6631: Get "http://quay.io/v2/": dial tcp [::1]:80: connect: connection refused
Note that the digest depends on the version of the openshift payload mirrored. The bove is for 4.12.54
Expected results:
The openshift-install should be extracted with the registry host embedded in it
Additional info: