Hide Forgot
This seems to be failing a generic Installer check that is not specific to Baremetal.
*** Bug 1959982 has been marked as a duplicate of this bug. ***
Needs priortized.
Will review again for a future sprint.
Tested on latest 4.10 nightly build 4.10.0-0.nightly-2021-10-29-032150, still failed. ./openshift-install version ./openshift-install 4.10.0-0.nightly-2021-10-29-032150 built from commit c3e9ffde71714b9004c5eedd506a01340f43295e release image registry.ci.openshift.org/ocp/release@sha256:ecedc7e8d60ad682bf0d171d6c4eaa720860e7b9f3cc14fd2427867b5d6dc4af release architecture amd64 cat install-config.yaml ... imageContentSources: - mirrors: - registry.example.com:5000 source: registry.redhat.io - mirrors: - registry.example.com:5000 source: registry-proxy.engineering.redhat.com ./openshift-install create manifests FATAL failed to fetch Master Machines: failed to load asset "Install Config": invalid "install-config.yaml" file: [imageContentSources[0].source: Invalid value: "registry.redhat.io": the repository provided is invalid, imageContentSources[1].source: Invalid value: "registry-proxy.engineering.redhat.com": the repository provided is invalid]
Verified this issue on nightly 4.10.0-0.nightly-2021-11-19-022019. With the following imageContentSources configured in install-config.yaml, could create the cluster successfully. imageContentSources: - mirrors: - registry.example.com source: registry.redhat.io - mirrors: - registry.example.com source: registry-proxy.engineering.redhat.com Check the ICSP created in cluster after installation # oc get ImageContentSourcePolicy -o yaml apiVersion: v1 items: - apiVersion: operator.openshift.io/v1alpha1 kind: ImageContentSourcePolicy metadata: creationTimestamp: "2021-11-19T06:41:18Z" generation: 1 name: image-policy-0 resourceVersion: "1395" uid: 94fa2dbe-1b54-4cdf-84da-63b7b69c8804 spec: repositoryDigestMirrors: - mirrors: - registry.example.com source: registry.redhat.io - apiVersion: operator.openshift.io/v1alpha1 kind: ImageContentSourcePolicy metadata: creationTimestamp: "2021-11-19T06:41:18Z" generation: 1 name: image-policy-1 resourceVersion: "1409" uid: 008dd16c-9e1a-4563-bb15-d8c17fdc07c4 spec: repositoryDigestMirrors: - mirrors: - registry.example.com source: registry-proxy.engineering.redhat.com kind: List metadata: resourceVersion: "" selfLink: "" Container registry configuration on the worker: sh-4.4# cat /etc/containers/registries.conf unqualified-search-registries = ["registry.access.redhat.com", "docker.io"] short-name-mode = "" [[registry]] prefix = "" location = "registry-proxy.engineering.redhat.com" mirror-by-digest-only = true [[registry.mirror]] location = "registry.example.com" [[registry]] prefix = "" location = "registry.redhat.io" mirror-by-digest-only = true [[registry.mirror]] location = "registry.example.com"
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0056