ironic/releasenotes/notes/fix-cpu-count-8904a4e1a24456f4.yaml
digambar 3e1fe5f7e4 Fix CPU count returned by introspection in Ironic iDRAC driver
If list_cpus in dracclient, it returns below values -

[CPU(id='CPU.Socket.1', cores=14, ht__enabled=True),
CPU(id='CPU.Socket.2', cores=14, ht_enabled=True)]

Each CPU socket has cores with hyperthreading enabled, so if we
calculate the cpu per socket, we will get actual cpu count per socket,
So objective of this patch to fetch actual CPU's per socket and sum it

Story: #2004155
Change-Id: Ia86b0462a3e73af7a2ce0a6439286f7071f74caa
2018-11-02 06:36:04 +00:00

8 lines
272 B
YAML

---
fixes:
- |
Fixes a bug where the number of CPU sockets was being returned by the
``idrac`` hardware type during introspection, instead of the number of
virtual CPUs. See bug `2004155
<https://storyboard.openstack.org/#!/story/2004155>`_ for details.