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

[vSphere] Specify zones failed with defaultMachinePlatform when controlPlane/compute.platform configured

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.20
    • Installer / vSphere
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          Specify zones failed with platform.defaultMachinePlatform when controlPlane/compute.platform is configured
      
      e.g.
      In install-config.yaml, controlPlane/compute.platform is configured as:
      
      controlPlane:
        platform:
          vsphere:
            cpus: 4
            coresPerSocket: 4
            memoryMB: 16384
      compute:
        platform:
          vsphere:
            cpus: 4
            coresPerSocket: 4
            memoryMB: 16384
      
      And specify zone in platform.defaultMachinePlatform as:
      
          defaultMachinePlatform:
            zones:
              - us-east-1a
      
      Install cluster, check node zones, all nodes should be landed in us-east-1a but not.
      
      NAMESPACE               NAME                                        PHASE     TYPE   REGION    ZONE         AGE   NODE                                        PROVIDERID                                       STATE
      openshift-machine-api   ci-op-r1trngwb-5c1e3-hbnrv-master-0         Running          us-east   us-east-1a   47m   ci-op-r1trngwb-5c1e3-hbnrv-master-0         vsphere://4210e866-5a7d-bc02-5ae0-1a6373f75edb   poweredOn
      openshift-machine-api   ci-op-r1trngwb-5c1e3-hbnrv-master-1         Running          us-west   us-west-2a   47m   ci-op-r1trngwb-5c1e3-hbnrv-master-1         vsphere://4210b978-65b9-201f-eb82-a0bf67033632   poweredOn
      openshift-machine-api   ci-op-r1trngwb-5c1e3-hbnrv-master-2         Running          us-west   us-west-1a   47m   ci-op-r1trngwb-5c1e3-hbnrv-master-2         vsphere://42104a6c-c8e4-d4c1-9a22-304fcb2321cc   poweredOn
      openshift-machine-api   ci-op-r1trngwb-5c1e3-hbnrv-worker-0-tbszz   Running          us-east   us-east-1a   43m   ci-op-r1trngwb-5c1e3-hbnrv-worker-0-tbszz   vsphere://42102731-25bb-e0e8-05c2-fd9a9f78ffb4   poweredOn
      openshift-machine-api   ci-op-r1trngwb-5c1e3-hbnrv-worker-1-zzqcf   Running          us-west   us-west-2a   43m   ci-op-r1trngwb-5c1e3-hbnrv-worker-1-zzqcf   vsphere://4210d098-b387-8a4d-9ba4-d4d61cb3667c   poweredOn
      openshift-machine-api   ci-op-r1trngwb-5c1e3-hbnrv-worker-2-pr5vb   Running          us-west   us-west-1a   43m   ci-op-r1trngwb-5c1e3-hbnrv-worker-2-pr5vb   vsphere://421046f1-9d72-4cfc-d410-d676adff0a79   poweredOn
      
      Manual install confirmed that if controlPlane/compute.platform is blank (see bellow), specify zone in platform.defaultMachinePlatform works as expected.
      compute:
        platform: {}
      controlPlane:
        platform: {}

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

          4.20.0-0.nightly-2025-09-19-231410

      How reproducible:

          always

      Steps to Reproduce:

          1. Create install config with above install config
          2. Install cluster and check node zones
          3.
          

      Actual results:

          Specify zones failed with platform.defaultMachinePlatform

      Expected results:

          All node should be in zones specified

      Additional info:

          

              jcallen@redhat.com Joseph Callen
              sgaoshang Shang Gao
              None
              None
              Shang Gao Shang Gao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: