+++ This bug is a downstream clone. The original bug is: +++
+++ bug 1408790 +++
After hotplugging CPU results in following KeyError:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 192, in _execute_task
File "/usr/share/vdsm/virt/periodic.py", line 289, in __call__
File "/usr/share/vdsm/virt/periodic.py", line 345, in _execute
File "/usr/share/vdsm/virt/vm.py", line 5181, in updateNumaInfo
self._numaInfo = numaUtils.getVmNumaNodeRuntimeInfo(self)
File "/usr/share/vdsm/numaUtils.py", line 116, in getVmNumaNodeRuntimeInfo
vnode_index = str(vcpu_to_vnode[vcpu_id])
We already have upstream patch for the same:
But latest Package - vdsm-python-184.108.40.206-1.el7ev.noarch.rpm does not have the patch.
(Originally by Ameya Charekar)
Yes, this is fixed in 4.1. Is that enough or an earlier release is requested?
(Originally by michal.skrivanek)
Patch backported to 4.0, backport to 3.6 posted.
(Originally by Milan Zamazal)
Milan - can this go to 4.0.7? We are not even sure we'll have 4.0.8 and this looks ready.
Yes, it's ready. The patch has been merged to Vdsm ovirt-4.0 branch on January 13 and it should be included in 4.0.7.
OS Version:RHEL - 7.3 - 7.el7
Kernel Version:3.10.0 - 514.6.1.el7.x86_64
KVM Version:2.6.0 - 28.el7_3.3
SPICE Version:0.12.4 - 19.el7
1. Create VM with 1 CPU and Run it
2. Hotplug CPU to 2 and check vdsm log
2. Hot unplug CPU to 1 and check vdsm log
CPU is updated, No Error in vdms log
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.