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

openshift-install with baremetal platform does not prompt for VIPs, resulting in fatal error

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • Metal Platform 274
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      During an interactive OpenShift baremetal cluster installation using openshift-install, the installer fails immediately after providing the pull secret. The installer does not prompt for API VIP or Ingress VIPs, leading to a fatal error indicating invalid VIP configurations. Specifically, the error messages show that the VIP 65.254.242.180 is incorrectly assigned as both an API and Ingress VIP, and it's not within the expected machine networks.

      Version-Release number of selected component (if applicable):

      Tested on openshift-install versions: 4.18.14, 4.18.16, 4.16.41. May affect other versions as well. 

      How reproducible:

      Consistently reproducible across multiple openshift-install versions with the described steps.    

      Steps to Reproduce:

      $ ./openshift-install create cluster? Platform baremetal
      ? Provisioning Network Managed
      ? Provisioning Network CIDR 172.22.0.0/24
      ? Provisioning bridge provisioning
      ? Provisioning Network Interface
      ? External bridge baremetal
      ? Add a Host: control plane
      ? Name master1
      ? BMC Address ipmi://192.168.0.1
      ? BMC Username dave
      ? BMC Password ****
      ? Boot MAC Address 00:0A:95:9D:68:16
      ? Add another host? Yes
      ? Add a Host: control plane
      ? Name master2
      ? BMC Address ipmi://192.168.0.2
      ? BMC Username dave
      ? BMC Password ****
      ? Boot MAC Address 00:0A:95:9D:68:15
      ? Add another host? Yes
      ? Add a Host: control plane
      ? Name master3
      ? BMC Address ipmi://192.168.0.3
      ? BMC Username dave
      ? BMC Password ****
      ? Boot MAC Address 00:0A:95:9D:68:14
      ? Add another host? No
      ? Base Domain mydomain.com
      ? Cluster Name mycluster
      ? Pull Secret [? for help] ***************** 

      Actual results:

      The installer exits with a `FATAL` error immediately after the pull secret step. The full error message is:
      
      FATAL failed to fetch Metadata: failed to fetch dependency of "Metadata": failed to fetch dependency of "Cluster ID": failed to generate asset "Install Config": invalid install config: [platform.baremetal.apiVIPs: Invalid value: "65.254.242.180": VIP for API must not be one of the Ingress VIPs, platform.baremetal.apiVIPs: Invalid value: "65.254.242.180": IP expected to be in one of the machine networks: 10.0.0.0/16, platform.baremetal.ingressVIPs: Invalid value: "65.254.242.180": IP expected to be in one of the machine networks: 10.0.0.0/16, platform.baremetal.Hosts: Required value: not enough hosts found (0) to support all the configured Compute replicas (3)]
      

      Expected results:

      The `openshift-install` tool should:  
        * Prompt the user to enter distinct API VIP and Ingress VIPs during the interactive baremetal installation process.
        * Validate that provided VIPs are within the configured machine networks.
        * Successfully proceed with the installation process after all required information is provided, assuming valid inputs.
        * Correctly register and count all provided control plane and worker hosts for the cluster configuration.    

      Additional info:

      N/A

       

              rh-ee-masghar Mahnoor Asghar
              rh-ee-dcoronel David Coronel
              None
              None
              Gaoyun Pei Gaoyun Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: