Bug 2229148 - [cnv-4.13] isolateEmulatorThread should not block live migration
Summary: [cnv-4.13] isolateEmulatorThread should not block live migration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.13.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.13.3
Assignee: sgott
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-04 12:40 UTC by Kedar Bidarkar
Modified: 2023-08-16 14:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 14:10:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt pull 9941 0 None Merged [release-0.59] enable live migration with dedicated cpus and isolated emulator thread 2023-08-04 12:42:28 UTC
Red Hat Issue Tracker CNV-31768 0 None None None 2023-08-04 12:42:02 UTC
Red Hat Product Errata RHSA-2023:4664 0 None None None 2023-08-16 14:10:10 UTC

Description Kedar Bidarkar 2023-08-04 12:40:03 UTC
This bug was initially created as a copy of Bug #2198976

I am copying this bug because: 



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 1 Kedar Bidarkar 2023-08-04 12:49:29 UTC
Fix is in, https://github.com/kubevirt/kubevirt/pull/9941

Comment 2 zhe peng 2023-08-07 04:51:53 UTC
verify with build: CNV-v4.13.3.rhel9-160

step:

1: create vm with:
...
       domain:
          cpu:
            dedicatedCpuPlacement: true
            isolateEmulatorThread: true
...

2: start vm and do live migration

$ oc get virtualmachineinstancemigrations.kubevirt.io 
NAME                        PHASE       VMI
vm-fedora-migration-jwyya   Succeeded   vm-fedora

migration succeeded

move to verified.

Comment 10 errata-xmlrpc 2023-08-16 14:10:01 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 (Important: OpenShift Virtualization 4.13.3 Images security and bug fix update), 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/RHSA-2023:4664


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