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

[vSphere CAPI install] installconfig.controlPlane.platform.vsphere.coresPerSocket does not work

XMLWordPrintable

    • No
    • OpenShift SPLAT - Sprint 254, OpenShift SPLAT - Sprint 255
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-33615. The following is the description of the original issue:

      Description of problem:

          The coresPerSocket value set in install-config does not match the actual result. When setting controlPlane.platform.vsphere.cpus to 16 and controlPlane.platform.vsphere.coresPerSocket to 8.The actual result I checked was: "NumCPU": 16,"NumCoresPerSocket": 16, NumCoresPerSocket should match the setting in install-config instead of NumCPU.
      
      Check the setting in VSphereMachine-openshift-cluster-api-guests-wwei1215a-42n48-master-0.yaml, the numcorespersocket is 0:
          numcpus: 16    
          numcorespersocket: 0

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

          4.16.0-0.nightly-2024-05-08-222442

      How reproducible:

          See description

      Steps to Reproduce:

          1.setting coresPerSocket for control plane in install-config. cpu needs to be a multiple of corespersocket.
          2.install the cluster
          

      Actual results:

          The NumCoresPerSocket is equal to NumCPU. In file VSphereMachine-openshift-cluster-api-guests-xxxx-xxxx-master-0.yaml, the numcorespersocket is 0. and in vm setting: "NumCoresPerSocket": 8.

      Expected results:

          The NumCoresPerSocket should match the setting in install-config.

      Additional info:

      installconfig setting:
      controlPlane:
        architecture: amd64
        hyperthreading: Enabled
        name: master
        platform:
          vsphere:
            cpus: 16
            coresPerSocket: 8
      check result:     
      "Hardware": {          "NumCPU": 16,          "NumCoresPerSocket": 16,
      the check result for compute node is expected.
      installconfig setting:
      compute:- architecture: amd64
        hyperthreading: Enabled
        name: worker
        platform:
          vsphere:
            cpus: 8
            coresPerSocket: 4
      check result:
      "Hardware": {          "NumCPU": 8,          "NumCoresPerSocket": 4,
      
      

              jcallen@redhat.com Joseph Callen
              openshift-crt-jira-prow OpenShift Prow Bot
              Wenxin Wei Wenxin Wei
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: