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

No validation that VIPs are present on vSphere

XMLWordPrintable

    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      In the agent-based installer, the user must provide an apiVIP and ingressVIP on the baremetal and vsphere platforms.
      In IPI, the VIPs must be provided for baremetal, but they are optional for vsphere.

      There is currently no validation that checks that the VIPs are provided on vsphere, and if an install-config is provided that does not set platform.vsphere.apiVIP or platform.vsphere.ingressVIP, the installer crashes when trying to generate the agent ISO:

      panic: runtime error: index out of range [0] with length 0
      
      goroutine 1 [running]:
      github.com/openshift/installer/pkg/asset/agent/manifests.(*AgentClusterInstall).Generate(0xc0004ad350, 0x5?)
      	/home/zbitter/openshift/installer/pkg/asset/agent/manifests/agentclusterinstall.go:182 +0xd79
      

              rhn-support-vsunku Venkata Charan Sai Sunku
              zabitter Zane Bitter
              zhenying niu zhenying niu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: