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

Not able to generate the install-config file using the interactive method of the openshift-baremetal-install command.

    XMLWordPrintable

Details

    • Important
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      The openshift-baremetal-install command does not prompt for API,Ingress and SSH fields in the interactive CLI method of creating an install-config file. It also fails to accept the compact cluster and throws error for the worker replicas.

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

      4.12.0

      How reproducible:

      100%

      Steps to Reproduce:

      1. $ openshift-baremetal-install create install-config --dir=foo
      2.
      3.
      

      Actual results:

      $ openshift-baremetal-install version
      openshift-baremetal-install 4.12.0
      built from commit ba940311c8cb2a07173725e5c2f668df7c61924c
      release image quay.io/openshift-release-dev/ocp-release@sha256:4c5a7e26d707780be6466ddc9591865beb2e3baa5556432d23e8d57966a2dd18
      release architecture amd64
      
      $ openshift-baremetal-install create install-config --dir=foo
      ? 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 master0
      ? BMC Address ipmi://192.168.123.1:6230
      ? BMC Username admin
      ? BMC Password ****
      ? Boot MAC Address 52:54:00:11:22:b1
      ? Add another host? Yes
      ? Add a Host: control plane
      ? Name master1
      ? BMC Address ipmi://192.168.123.1:6231
      ? BMC Username admin
      ? BMC Password ********
      ? Boot MAC Address 52:54:00:11:22:b2
      ? Add another host? Yes
      ? Add a Host: control plane
      ? Name master2
      ? BMC Address ipmi://192.168.123.1:6232
      ? BMC Username admin
      ? BMC Password ********
      ? Boot MAC Address 52:54:00:11:22:b3
      ? Add another host? No
      ? Base Domain example.local
      ? Cluster Name foo
      ? Pull Secret [? for help] ************************************************************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: Required value: must specify at least one VIP for the API, platform.baremetal.ingressVIPs: Required value: must specify at least one VIP for the Ingress, platform.baremetal.Hosts: Required value: not enough hosts found (0) to support all the configured Compute replicas (3)]

      Expected results:

      The install-config.yaml file should be generated.

      Additional info:

       

      Attachments

        Activity

          People

            rhn-support-vkochuku Vinu Kochukuttan
            rhn-support-vkochuku Vinu Kochukuttan
            Gaoyun Pei Gaoyun Pei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: