Description of problem:
Failed to run vm with NumaNode
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create new vm and add via REST to vm numa node:
2. Run vm
Vm failed to run with exception in vdsm.log
Traceback (most recent call last):
File "/usr/share/vdsm/virt/vm.py", line 2235, in _startUnderlyingVm
File "/usr/share/vdsm/virt/vm.py", line 3255, in _run
domxml = hooks.before_vm_start(self._buildCmdLine(), self.conf)
File "/usr/share/vdsm/virt/vm.py", line 3045, in _buildCmdLine
File "/usr/share/vdsm/virt/vm.py", line 931, in appendCpu
Vm success to run without any exceptions
If I change line:
guestNumaNodes = sorted(
guestNumaNodes = self.conf.get('guestNumaNodes') and restart vdsm all works fine
Could you attach vdsm.log from the vmCreate line down to that exception?
Created attachment 922951 [details]
This root cause of this bug is in engine side, and the related patches are already posted.
(In reply to Bruce Shi from comment #3)
> This root cause of this bug is in engine side, and the related patches are
> already posted.
actually I think that: http://gerrit.ovirt.org/#/c/27987/3/vdsm/virt/vm.py solves it.
No, i don't think so. Yes, http://gerrit.ovirt.org/#/c/27987/3/vdsm/virt/vm.py is to fix the bug of missing index when create vm numa nodes, but it also needs the support of several engine patches, including the following:
the above engine patches are still in reviewing. So we need to merge these patches to fix this issue.
Since the related engine patches are merged, this bug should be modified.
Verified on rhevm-3.5.0-0.13.beta.el6ev.noarch
Run vm with NUMA node success without any problem.
oVirt 3.5 has been released and should include the fix for this issue.