Bug 1930339 - Windows VMI LiveMigration fails on 'XML error: non unique alias detected: ua-')
Summary: Windows VMI LiveMigration fails on 'XML error: non unique alias detected: ua-')
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 2.5.4
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 2.5.5
Assignee: sgott
QA Contact: vsibirsk
URL:
Whiteboard:
Depends On: 1911118
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-18 17:17 UTC by vsibirsk
Modified: 2021-03-24 14:16 UTC (History)
3 users (show)

Fixed In Version: virt-operator-container-v2.5.5-2 hco-bundle-registry-container-v2.5.5-45
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-24 14:16:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:0982 0 None None None 2021-03-24 14:16:51 UTC

Description vsibirsk 2021-02-18 17:17:58 UTC
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

Comment 2 Roman Mohr 2021-02-19 09:29:11 UTC
An explanation for the cause can be found in https://bugzilla.redhat.com/show_bug.cgi?id=1911118#c11.

Comment 3 sgott 2021-02-19 18:23:53 UTC
Pull Request: https://github.com/kubevirt/kubevirt/pull/5067

Comment 4 vsibirsk 2021-03-08 13:19:42 UTC
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

Comment 9 errata-xmlrpc 2021-03-24 14:16:49 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 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


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