Created attachment 1865174 [details] engine nd vdsm logs Description of problem: VM with resize cpu pinning policy fails on start with java.lang.NullPointerException Version-Release number of selected component (if applicable): ovirt-engine-4.5.0-596.7434eeb1dde2.226.el8ev.noarch How reproducible: 100% on a host with CPU(s): 48 On-line CPU(s) list: 0-47 Thread(s) per core: 2 Core(s) per socket: 24 Socket(s): 1 NUMA node(s): 4 the reproduce could be seen on ocelot05.qa.lab.tlv.redhat.com Steps to Reproduce: 1. Configure VM with 1 CPU, resize_and_pin cpu policy, assign it to host . 2. Run VM Actual results: fails to start 2022-03-09 14:37:51,405+02 ERROR [org.ovirt.engine.core.bll.RunVmCommand] (default task-13) [vms_syncAction_e9b271b7-e36b-4ef4] Error during ValidateFailure.: java.lang.NullPointerException at org.ovirt.engine.core.common//org.ovirt.engine.core.common.utils.CpuPinningHelper.getAllPinnedPCpus(CpuPinningHelper.java:61) Expected results: starts ok Additional info:
verified on ovirt-engine-4.5.0.2-0.7.el8ev.noarch by running automation test rhevmtests.compute.sla.vm_auto_pinning.vm_auto_pinning_test.TestAutoPinningAdjustBasic on host ocelot05.qa.lab.tlv.redhat.com
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022. Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.