Bug 2033430

Summary: Live migration fails
Product: Red Hat OpenStack Reporter: jhardee
Component: openstack-novaAssignee: OSP DFG:Compute <osp-dfg-compute>
Status: CLOSED DUPLICATE QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16.2 (Train)CC: bdobreli, dasmith, dhill, dvd, eglynn, jhakimra, kchamart, mschuppe, sbauza, sgordon, vromanso
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-0.8.1-2.20211223005854.b33463b.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-18 20:14:48 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 jhardee 2021-12-16 19:30:56 UTC
Description of problem:

Customer live migrating a VM on same node.  Migration fails with 
~~~
"2021-12-16 17:55:53.813 7 ERROR nova.virt.libvirt.driver [-] [instance: bab26e1a-7ba7-4c7d-ba89-a959a69df21d] Live Migration failure: internal error: unable to execute QEMU command 'migrate-set-capabilities': Postcopy is not supported: libvirt.libvirtError: internal error: unable to execute QEMU command 'migrate-set-capabilities': Postcopy is not supported"
~~~

They are seeing this happening across all clusters in production

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


How reproducible:
N/A


Steps to Reproduce:
1.
2.
3.

Actual results:

Live migration fails on same compute node


Expected results:

Live migration completes on same compute node



Additional info:

Comment 1 Martin Schuppert 2021-12-17 09:13:35 UTC
This looks that it might be related to https://bugzilla.redhat.com/show_bug.cgi?id=1992506
if this compute e.g. use dpdk.

Until this is clarified a workaround would be to disable postcopy for the compute role:

parameter_defaults:
  <ComputeRoleName>Parameters:
    NovaLiveMigrationPermitPostCopy: False