-
Bug
-
Resolution: Done
-
Major
-
4.13.z, 4.12, 4.11.z, 4.14.z
Description of problem:
There is not clear guide about creating install-config.yaml when using oc-mirror. Before oc-mirror method released, RH guided customer to use 'oc adm relase mirror' command. When 'oc adm relase mirror' is used, the 'imageContentSources:' was out like below at the end of the mirror process. ~~~ imageContentSources: - mirrors: - <local_registry>/<local_repository_name>/release source: quay.io/openshift-release-dev/ocp-release - mirrors: - <local_registry>/<local_repository_name>/release source: quay.io/openshift-release-dev/ocp-v4.0-art-dev ~~~ However, when customers are using oc-mirror, there is not output printed about 'imageContentSources:'. There is only the results-*/imageContentSourcePolicy.yaml file. Customers don't know what to put in the 'imageContentSources:' part of install-config.ymal[1]. [1] https://docs.openshift.com/container-platform/4.12/installing/installing_bare_metal/installing-restricted-networks-bare-metal.html#installation-bare-metal-config-yaml_installing-restricted-networks-bare-metal ~~~ imageContentSources: - mirrors: - <local_registry>/<local_repository_name>/release source: quay.io/openshift-release-dev/ocp-release - mirrors: - <local_registry>/<local_repository_name>/release source: quay.io/openshift-release-dev/ocp-v4.0-art-dev ~~~
Version-Release number of selected component (if applicable):
4.11, 4.12 documentation
How reproducible:
NA
Steps to Reproduce:
NA
Actual results:
Before, when I was using 'oc adm release mirror' command, I could see ' 'imageContentSources:' when the mirror process was completed. On the contrary, when I'm using oc-mrirror there is no 'imageContentSources:' printed. I know there is output called imageContentSourcePolicy.yaml but this is to be used after installation.
Expected results:
Please make 'imageContentSources:' printed at the end of the mirror process so I can copy and paste for install-config.yaml. Or, Please revise the official document about install-config.yaml part to guide where I can find the 'imageContentSources:' when using oc-mirror.
Additional info:
https://access.redhat.com/support/cases/#/case/03343389 There is the former case related for this.
- links to