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

[IPI-IBMCloud] fail to retrieve the dedicated host which is not in the cluster group when provisioning the worker nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.13, 4.12, 4.14
    • Installer / IBM Cloud
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      [IPI-IBMCloud] the worker nodes is “Provisioning” when use the dedicated host in Default group , install the cluster failed. 

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

      4.12.0-0.nightly-2023-01-10-062211

      How reproducible:

      always

      Steps to Reproduce:

      1.Create dedicated host maxu-hd in Default group jp-tok region (ref https://cloud.ibm.com/docs/vpc?topic=vpc-creating-dedicated-hosts-instances&interface=ui)
      2.Create a cluster with the dedicated host of Default group, without setting resourceGroupName in the install-config 
      Install-config.yaml.
      controlPlane:
        architecture: amd64
        name: master
        platform:
          ibmcloud:
            type: bx2-4x16
            zones:
            - jp-tok-1
            dedicatedHosts:
            - profile: bx2-host-152x608
        replicas: 3
      compute:
      - architecture: amd64
        name: worker
        platform:
          ibmcloud:
            type: bx2-4x16
            zones:
            - jp-tok-1
            dedicatedHosts:
            - name: maxu-hd
        replicas: 2 

      Actual results:

      install Cluster failed.
      $ oc get machines -A | grep worker
      openshift-machine-api   maxu-dh2-qgjkz-worker-1-mbbfx   Provisioning                                  111m
      openshift-machine-api   maxu-dh2-qgjkz-worker-1-xddq2   Provisioning                                  111m
      
      $ oc describe machine maxu-dh2-qgjkz-worker-1-mbbfx -n openshift-machine-api
       Warning  FailedCreate  8m11s (x23 over 101m)  ibmcloudcontroller  maxu-dh2-qgjkz-worker-1-mbbfx: reconciler failed to Create machine: failed to create instance via ibm vpc client: could not retrieve dedicated host id of name: maxu-hd
       

      Expected results:

      install succeed.

      Additional info:

      ref:https://bugzilla.redhat.com/show_bug.cgi?id=2105161
      With the dedicated host in named group (create with dedicatedHosts.profile), install the cluster successfully
      https://docs.openshift.com/container-platform/4.10/installing/installing_ibm_cloud_public/installing-ibm-cloud-network-customizations.html#installation-configuration-parameters-additional-ibm-cloud_installing-ibm-cloud-network-customizations
      https://cloud.ibm.com/docs/vpc?topic=vpc-creating-dedicated-hosts-instances

              jeffbnowicki Jeff Nowicki
              maxu@redhat.com May Xu
              None
              None
              May Xu May Xu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: