-
Bug
-
Resolution: Done
-
Major
-
4.13, 4.14
-
None
-
Quality / Stability / Reliability
-
False
-
-
3
-
None
-
No
-
None
-
None
-
None
-
OSDOCS Sprint 239
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Sample install-config.yaml file mentioned in the documentation https://docs.openshift.com/container-platform/4.13/installing/installing_vsphere/installing-vsphere-installer-provisioned-network-customizations.html#installation-installer-provisioned-vsphere-config-yaml_installing-vsphere-installer-provisioned-network-customizations is not usable as the controlPlane is mentioned as list where as it should not be The documentation needs to be fixed in other sections of the vsphere too as applicable.
Version-Release number of selected component (if applicable):
How reproducible:
Use the sample install-config.yaml file and run installer
Steps to Reproduce:
1. Create install-config file as per documentation https://docs.openshift.com/container-platform/4.13/installing/installing_vsphere/installing-vsphere-installer-provisioned-network-customizations.html#installation-installer-provisioned-vsphere-config-yaml_installing-vsphere-installer-provisioned-network-customizations 2. ./openshift-install create cluster --log-level=info
Actual results:
ERROR failed to fetch Metadata: failed to load asset "Install Config": failed to create install config: failed to unmarshal install-config.yaml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal array into Go struct field InstallConfig.controlPlane of type types.MachinePool
Expected results:
Installation should continue
Additional info:
https://redhat-internal.slack.com/archives/C68TNFWA2/p1689761139588239