Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-16396

controlPlane should not be mentioned as list in install-config.yaml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.13
    • 4.13, 4.14
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 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

              dfitzmau@redhat.com Darragh Fitzmaurice
              rh-ee-prajendr Prakash Rajendran
              None
              None
              Gaoyun Pei Gaoyun Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: