Bug 2198976 - isolateEmulatorThread should not block live migration
Summary: isolateEmulatorThread should not block live migration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.12.2
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: 4.12.4
Assignee: Antonio Cardace
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-10 23:37 UTC by Germano Veit Michel
Modified: 2023-10-26 04:25 UTC (History)
4 users (show)

Fixed In Version: v4.12.4-56
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-27 19:10:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt pull 9722 0 None Merged enable live migration with dedicated cpus and isolated emulator thread 2023-06-19 15:18:18 UTC
Github kubevirt kubevirt pull 9939 0 None Merged [release-0.58] enable live migration with dedicated cpus and isolated emulator thread 2023-06-19 15:17:10 UTC
Red Hat Issue Tracker CNV-28778 0 None None None 2023-05-10 23:39:51 UTC
Red Hat Product Errata RHEA-2023:3889 0 None None None 2023-06-27 19:10:51 UTC

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


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