Description of problem: Live-Migration of Windows VM fails with error Version-Release number of selected component (if applicable): CNV 2.5.4 (upgraded from 2.4) How reproducible: 100% Steps to Reproduce: 1. Create Windows DV 2. Create Windows VM from template 3. Start VM 4. Migrate VM via virtctl migrate Actual results: {"component":"virt-launcher","level":"error","msg":"XML error: non unique alias detected: ua-","pos":"virDomainDeviceDefValidateAliasesIterator:6671","subcomponent":"libvirt","thread":"38","timestamp":"2021-02-18T16:56:22.597000Z"} {"component":"virt-launcher","kind":"","level":"error","msg":"Defining the VirtualMachineInstance failed.","name":"windows-migrate-vm-1613667118-7746098","namespace":"os-common-templates-windows-test-windows-vm-migration","pos":"libvirt_helper.go:100","reason":"virError(Code=27, Domain=20, Message='XML error: non unique alias detected: ua-')","timestamp":"2021-02-18T16:56:22.603687Z","uid":"8defb6f9-d392-492e-939c-893ae8f1ef0e"} {"component":"virt-launcher","kind":"","level":"error","msg":"Failed to migrate vmi","name":"windows-migrate-vm-1613667118-7746098","namespace":"os-common-templates-windows-test-windows-vm-migration","pos":"server.go:105","reason":"virError(Code=27, Domain=20, Message='XML error: non unique alias detected: ua-')","timestamp":"2021-02-18T16:56:22.603809Z","uid":"8defb6f9-d392-492e-939c-893ae8f1ef0e"} Expected results: Migration successful Additional info: Same issue fixed in CNV-2.6 https://bugzilla.redhat.com/show_bug.cgi?id=1911118
An explanation for the cause can be found in https://bugzilla.redhat.com/show_bug.cgi?id=1911118#c11.
Pull Request: https://github.com/kubevirt/kubevirt/pull/5067
Verified on hco-bundle-registry:v2.5.5-52 Checked with OS - win2019 Verified with steps: 1) Create and start VM with DV from template 2) Stop/start VM several times - VMI and virt-launcher pod removed 3) Live-Migrate VM - VM migrated without issues 4) Drain node where VM is running - node drained, VM migrated 5) Delete VM - VMI and virt-launcher pod removed
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 2.5.5 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-2021:0982