-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
0.42
-
False
-
False
-
CLOSED
-
Undefined
-
---
-
---
-
CNV Virtualization Sprint 196
-
Urgent
-
Yes
Description of problem:
Start Windows and Fedora VMs.
Drain the node that the VMI are running on.
Fedora VMI is migrated successfully; Windows VMI fails to migrate.
Version-Release number of selected component (if applicable):
CNV 2.6.0 (virt-operator-container-v2.6.0-95)
How reproducible:
100%
Steps to Reproduce:
1. Create Windows DV
2. Create Windows VM from template
oc process -n openshift windows2k19-server-medium-v0.12.3 -p NAME=win-19 -p PVCNAME=win-19
3. Start VM
4. Drain the node that hosts the VMI
oc adm drain <node name> --delete-local-data --ignore-daemonsets=true --force
Actual results:
VMI migration fails on:
server error. command Migrate failed: "LibvirtError(Code=27, Domain=20, Message='XML error: non unique alias detected: ua-')"
Expected results:
VMI migration should succeed.
Additional info:
- Fedora VMI (BlockMigration/LiveMigration) succeeds.
- Attached:
- Windows:
- DV and VM yamls
- VM/VMI yamls
- dumpxml
- source and target pods
- VMI describe
- Fedora (BlockMigration/LiveMigration) VMs and VMIs yamls and domxml
$ oc describe vmi win-19
Name: win-19
Namespace: default
Labels: kubevirt.io/domain=win-19
kubevirt.io/migrationTargetNodeName=ssp04-2zj76-worker-0-rlzj6
kubevirt.io/nodeName=ssp04-2zj76-worker-0-74wtp
kubevirt.io/size=medium
Annotations: kubevirt.io/latest-observed-api-version: v1alpha3
kubevirt.io/storage-observed-api-version: v1alpha3
API Version: kubevirt.io/v1alpha3
Kind: VirtualMachineInstance
Metadata:
Creation Timestamp: 2020-12-27T16:48:09Z
Finalizers:
foregroundDeleteVirtualMachine
Generation: 15
Managed Fields:
API Version: kubevirt.io/v1alpha3
Fields Type: FieldsV1
fieldsV1:
f:status:
f:evacuationNodeName:
Manager: virt-api
Operation: Update
Time: 2020-12-27T16:49:21Z
API Version: kubevirt.io/v1alpha3
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubevirt.io/latest-observed-api-version:
f:kubevirt.io/storage-observed-api-version:
f:labels:
.:
f:kubevirt.io/domain:
f:kubevirt.io/migrationTargetNodeName:
f:kubevirt.io/nodeName:
f:kubevirt.io/size:
f:ownerReferences:
f:spec:
.:
f:domain:
.:
f:clock:
.:
f:timer:
.:
f:hpet:
.:
f:present:
f:hyperv:
f:pit:
.:
f:tickPolicy:
f:rtc:
.:
f:tickPolicy:
f:utc:
f:cpu:
.:
f:cores:
f:sockets:
f:threads:
f:devices:
.:
f:disks:
f:inputs:
f:interfaces:
f:features:
.:
f:acpi:
f:apic:
f:hyperv:
.:
f:relaxed:
f:spinlocks:
.:
f:spinlocks:
f:vapic:
f:firmware:
.:
f:uuid:
f:machine:
.:
f:type:
f:resources:
.:
f:requests:
.:
f:memory:
f:evictionStrategy:
f:networks:
f:terminationGracePeriodSeconds:
f:volumes:
f:status:
.:
f:activePods:
.:
f:4cfe1e83-adee-42ec-885a-963f3f9dd302:
f:9b204742-52e9-47a0-ae28-59ad73f37e1d:
f:guestOSInfo:
f:migrationState:
.:
f:migrationUid:
f:sourceNode:
f:targetNode:
f:targetPod:
f:nodeName:
f:qosClass:
Manager: virt-controller
Operation: Update
Time: 2020-12-27T16:49:40Z
API Version: kubevirt.io/v1alpha3
Fields Type: FieldsV1
fieldsV1:
f:status:
f:conditions:
f:interfaces:
f:migrationMethod:
f:migrationState:
f:targetDirectMigrationNodePorts:
.:
f:34579:
f:46367:
f:targetNodeAddress:
f:phase:
f:volumeStatus:
Manager: virt-handler
Operation: Update
Time: 2020-12-27T16:49:41Z
Owner References:
API Version: kubevirt.io/v1alpha3
Block Owner Deletion: true
Controller: true
Kind: VirtualMachine
Name: win-19
UID: 3a13f855-cd6a-45c9-a6c1-7c73d5aa4199
Resource Version: 6585022
UID: 1c635b6c-d50a-4555-8539-a969529c5eba
Spec:
Domain:
Clock:
Timer:
Hpet:
Present: false
Hyperv:
Present: true
Pit:
Present: true
Tick Policy: delay
Rtc:
Present: true
Tick Policy: catchup
Utc:
Cpu:
Cores: 1
Sockets: 1
Threads: 1
Devices:
Disks:
Disk:
Bus: sata
Name: rootdisk
Inputs:
Bus: usb
Name: tablet
Type: tablet
Interfaces:
Masquerade:
Model: e1000e
Name: default
Features:
Acpi:
Enabled: true
Apic:
Enabled: true
Hyperv:
Relaxed:
Enabled: true
Spinlocks:
Enabled: true
Spinlocks: 8191
Vapic:
Enabled: true
Firmware:
Uuid: e7d85e84-c5ca-5fe0-8a02-922c050f01be
Machine:
Type: pc-q35-rhel8.2.0
Resources:
Requests:
Cpu: 100m
Memory: 4Gi
Eviction Strategy: LiveMigrate
Networks:
Name: default
Pod:
Termination Grace Period Seconds: 3600
Volumes:
Name: rootdisk
Persistent Volume Claim:
Claim Name: win-19
Status:
Active Pods:
4cfe1e83-adee-42ec-885a-963f3f9dd302: ssp04-2zj76-worker-0-rlzj6
9b204742-52e9-47a0-ae28-59ad73f37e1d: ssp04-2zj76-worker-0-74wtp
Conditions:
Last Probe Time: <nil>
Last Transition Time: <nil>
Status: True
Type: LiveMigratable
Last Probe Time: <nil>
Last Transition Time: 2020-12-27T16:48:18Z
Status: True
Type: Ready
Last Probe Time: <nil>
Last Transition Time: 2020-12-27T16:49:41Z
Message: server error. command Migrate failed: "LibvirtError(Code=27, Domain=20, Message='XML error: non unique alias detected: ua-')"
Reason: Synchronizing with the Domain failed.
Status: False
Type: Synchronized
Evacuation Node Name: ssp04-2zj76-worker-0-74wtp
Guest OS Info:
Interfaces:
Ip Address: 10.128.2.155
Ip Addresses:
10.128.2.155
Mac: 02:00:00:0d:1c:e6
Name: default
Migration Method: LiveMigration
Migration State:
Migration UID: 97b769fd-38dc-4233-8487-0be1a67e3940
Source Node: ssp04-2zj76-worker-0-74wtp
Target Direct Migration Node Ports:
34579: 0
46367: 49152
Target Node: ssp04-2zj76-worker-0-rlzj6
Target Node Address: 10.129.2.13
Target Pod: virt-launcher-win-19-h2dmz
Node Name: ssp04-2zj76-worker-0-74wtp
Phase: Running
Qos Class: Burstable
Volume Status:
Name: rootdisk
Target: sda
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulCreate 9m8s disruptionbudget-controller Created PodDisruptionBudget kubevirt-disruption-budget-sb8pw
Normal SuccessfulCreate 9m8s virtualmachine-controller Created virtual machine pod virt-launcher-win-19-sp6wq
Normal Started 8m54s virt-handler VirtualMachineInstance started.
Normal SuccessfulCreate 7m55s disruptionbudget-controller Created Migration kubevirt-evacuation-g28rx
Normal Created 7m37s (x8 over 8m55s) virt-handler VirtualMachineInstance defined.
Normal PreparingTarget 7m37s virt-handler Migration Target is listening at 10.129.2.13, on ports: 34579,46367
Normal PreparingTarget 7m36s (x3 over 7m37s) virt-handler VirtualMachineInstance Migration Target Prepared.
Warning SyncFailed 2m6s (x18 over 7m36s) virt-handler server error. command Migrate failed: "LibvirtError(Code=27, Domain=20, Message='XML error: non unique alias detected: ua-')"
Warning FailedCreate 32s (x17 over 2m36s) disruptionbudget-controller Error creating a Migration: admission webhook "migration-create-validator.kubevirt.io" denied the request: in-flight migration detected. Active migration job (97b769fd-38dc-4233-8487-0be1a67e3940) is currently already in progress for VMI win-19.
- external trackers
- links to