Bug 2065152 - Implicit CPU pinning for NUMA VMs destroyed because of invalid CPU policy
Summary: Implicit CPU pinning for NUMA VMs destroyed because of invalid CPU policy
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.5.0
: 4.5.0.1
Assignee: Liran Rotenberg
QA Contact: Polina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-17 11:58 UTC by Tomáš Golembiovský
Modified: 2022-04-20 06:33 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.5.0.1
Clone Of:
Environment:
Last Closed: 2022-04-20 06:33:59 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.5?
pm-rhel: blocker?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-engine pull 180 0 None open core: handle numa pinning without cpu pinning 2022-03-22 17:25:12 UTC
Red Hat Issue Tracker RHV-45348 0 None None None 2022-03-17 11:58:45 UTC

Description Tomáš Golembiovský 2022-03-17 11:58:11 UTC
When VM with NUMA configured is started Engine generates CPU pinning to make sure vCPUs are located on respective NUMA nodes on host (based on configured NUMA pinnig). But because Engine specifies CPU policy as "none" this CPU pinning is later destroyed by VDSM and CPUs from shared pool are used.

The CPU policy for NUMA VMs should be set to "manual" to preserve the CPU pinning.

Comment 1 RHEL Program Management 2022-03-17 12:05:49 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Polina 2022-04-11 14:12:57 UTC
verified on 4.5.0.2-0.7.el8ev
by running automation tests (sla/rhevmtests.compute.sla.numa.numa_test.TestStrictNumaModeOnVM.test_cpu_pinning and numa_test.TestPreferModeOnVm.test_cpu_pinning) . the tests get numa cpu pinning on host , compares the VM cpu pinning in cat /proc/700992/task/*/status |grep Cpus_allowed_list.
Tested also for the migration case.

Comment 3 Sandro Bonazzola 2022-04-20 06:33:59 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.