-
Bug
-
Resolution: Done-Errata
-
Major
-
4.16.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
No
-
None
-
Proposed
-
OpenShift SPLAT - Sprint 254, OpenShift SPLAT - Sprint 255
-
2
-
Done
-
Release Note Not Required
-
N/A
-
None
-
None
-
None
-
None
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,
- blocks
-
OCPBUGS-34625 [vSphere CAPI install] installconfig.controlPlane.platform.vsphere.coresPerSocket does not work
-
- Closed
-
- is cloned by
-
OCPBUGS-34625 [vSphere CAPI install] installconfig.controlPlane.platform.vsphere.coresPerSocket does not work
-
- Closed
-
- links to
-
RHEA-2024:3718
OpenShift Container Platform 4.17.z bug fix update