Bug 1979277

Summary: [RFE] Migration - Apply automatic CPU and NUMA pinning based on the migrated host
Product: [oVirt] ovirt-engine Reporter: Liran Rotenberg <lrotenbe>
Component: BLL.VirtAssignee: Liran Rotenberg <lrotenbe>
Status: CLOSED CURRENTRELEASE QA Contact: Polina <pagranat>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4.7.3CC: ahadas, bugs, ljelinko
Target Milestone: ovirt-4.5.0Keywords: FutureFeature, ZStream
Target Release: 4.5.0.1Flags: pm-rhel: ovirt-4.5?
pm-rhel: planning_ack?
pm-rhel: devel_ack+
pm-rhel: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-23 06:21:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1729464    

Description Liran Rotenberg 2021-07-05 12:53:07 UTC
We currently pin vCPUs automatically when adding/updating the virtual machine based on what of the hosts that the VM is pinned to (under the assumptions these hosts are the same).

This RFE is about doing it based on the host that the VM is going to migrate on.

Comment 1 Arik 2021-11-07 13:10:11 UTC
The scope of this bug is to address:
"Live migration to a new host requires manually checking CPU and NUMA node availability on the new host and then reconfiguring pinning for the VM with new CPU and NUMA node ids."
In bz 1729464

Comment 2 Liran Rotenberg 2022-03-27 16:19:27 UTC
This bug was meant for Auto pinning feature (Resize and Pin NUMA). But, for that we will need to modify the CPU topology of the VM.
Currently with the new dedicated feature, it seems much more relevant for it.
We can modify the CPU pinning and NUMA pinning on migration.

Comment 3 Sandro Bonazzola 2022-03-29 16:16:40 UTC
We are past 4.5.0 feature freeze, please re-target.

Comment 4 Polina 2022-05-03 14:12:02 UTC
verified in ovirt-engine-4.5.0.5-0.7.el8ev.noarch on the base of migration cases from the attached polarion plan