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

[IBMCloud] [CAPI] dedicatedhost cluster failed by spec.placementTarget.dedicatedHostGroup: Invalid value "null"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.19
    • Installer / IBM Cloud
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      CAPI install with the dedicted host  [spec.placementTarget.dedicatedHostGroup: Invalid value: "null"

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

      4.19.0-0.nightly-2024-12-13-083421 

      How reproducible:

      always    

      Steps to Reproduce:

      1.add the following in install-config.yaml
      featureSet: CustomNoUpgrade
      featureGates: [ClusterAPIInstall=true]
      credentialsMode: Manual
      platform:
        ibmcloud:
          region: jp-tok
          resourceGroupName: ci-op-ddj4fjiv-89fa2
      controlPlane:
        name: master
        platform:
          ibmcloud:
            type: bx2-8x32
            zones:
            - "jp-tok-2"
            dedicatedHosts:
            - name: ci-op-ddj4fjiv-89fa2-dh
        replicas: 3
      compute:
      - name: worker
        platform:
          ibmcloud:
            type: bx2-4x16
            zones:
            - "jp-tok-2"
            dedicatedHosts:
            - name: ci-op-ddj4fjiv-89fa2-dh
        replicas: 3
      2. create IBMCloud cluster with IPI    

      Actual results:

      level=info msg=Done creating infra manifests
      level=info msg=Creating kubeconfig entry for capi cluster ci-op-ddj4fjiv-89fa2-dtk2r
      level=info msg=Waiting up to 30m0s (until 6:35AM UTC) for network infrastructure to become ready...
      level=info msg=Network infrastructure is ready
      level=info msg=created cos bucket for bootstrap ignition config: ci-op-ddj4fjiv-89fa2-dtk2r-cos/ci-op-ddj4fjiv-89fa2-dtk2r-bootstrap-ignition
      level=error msg=failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to create control-plane manifest: IBMVPCMachine.infrastructure.cluster.x-k8s.io "ci-op-ddj4fjiv-89fa2-dtk2r-bootstrap" is invalid: [spec.placementTarget.dedicatedHostGroup: Invalid value: "null": spec.placementTarget.dedicatedHostGroup in body must be of type object: "null", <nil>: Invalid value: "null": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation]
      

      Expected results:

      create cluster succeed    

      Additional info:

      ref https://qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/view/gs/qe-private-deck/pr-logs/pull/openshift_release/59392/rehearse-59392-periodic-ci-openshift-verification-tests-master-installer-rehearse-4.19-installer-rehearse-ibmcloud-dh-static-capi/1868895291478904832 

              cschaefe@redhat.com Christopher Schaefer
              maxu@redhat.com May Xu
              May Xu May Xu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: