Bug 2198976

Summary: isolateEmulatorThread should not block live migration
Product: Container Native Virtualization (CNV) Reporter: Germano Veit Michel <gveitmic>
Component: VirtualizationAssignee: Antonio Cardace <acardace>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.12.2CC: acardace, dshchedr, pelauter, rsdeor
Target Milestone: ---   
Target Release: 4.12.4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: v4.12.4-56 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-27 19:10:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Germano Veit Michel 2023-05-10 23:37:41 UTC
Description of problem:

Pinning of emulator threads does not restrict live migration of a VM

Version-Release number of selected component (if applicable):
4.12.2

How reproducible:
Always

Steps to Reproduce:
1. Set a VM with isolateEmulatorThread

$ oc get vm fedora -o yaml | yq '.spec.template.spec.domain.cpu'

dedicatedCpuPlacement: true
isolateEmulatorThread: true

2. VM is not migratable because "VMI uses dedicated CPUs and emulator thread isolation"

Additional info:
* PR already exists by Marcelo: https://github.com/kubevirt/kubevirt/pull/9722/commits/feb0203f556b45a7fdcc58af4a9b5d6dde48c877

Comment 7 Denys Shchedrivyi 2023-06-20 18:55:32 UTC
Verified on  CNV-v4.12.4-56

VM with `isolateEmulatorThread: true` and `dedicatedCpuPlacement: true` can be succesfully migrated

Comment 14 errata-xmlrpc 2023-06-27 19:10:40 UTC
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 (OpenShift Virtualization 4.12.4 Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:3889

Comment 15 Red Hat Bugzilla 2023-10-26 04:25:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days