-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
Quality / Stability / Reliability
-
False
-
False
-
CLOSED
-
CNV Virtualization Sprint 220
-
Moderate
-
No
Description of problem:
With sysprep config data as cfgMap Volume and attached as cdrom Disk to a windows10 VMI fails to LiveMigrate
Version-Release number of selected component (if applicable):
CNV-4.9.0
How reproducible:
Steps to Reproduce:
1. Create a Windows 10 VM via the Templates provided
2. Attach the sysprep-config as cfgMap Volume and attached as CDROM Disk to it by editing the VM
3.
Actual results:
The target VMI Pod, just shows as "Completed" as seen in the "additional info" below.
The VMI remained on the node-15, with the same source VMI Pod.
LiveMigration fails as seen from the VMIM object info.
the Target VMI Pod shows the below error.
[kbidarka@localhost sysprep]$ oc describe pods virt-launcher-vm-ocs-win10-8m789 | grep -A 20 "Events"
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 73m default-scheduler Successfully assigned default/virt-launcher-vm-ocs-win10-8m789 to node-13.redhat.com
Normal SuccessfulAttachVolume 73m attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-5100b562-7ad4-489f-8210-40c2b0714d0a"
Normal SuccessfulMountVolume 73m kubelet MapVolume.MapPodDevice succeeded for volume "pvc-5100b562-7ad4-489f-8210-40c2b0714d0a" globalMapPath "/var/lib/kubelet/plugins/kubernetes.io/csi/volumeDevices/pvc-5100b562-7ad4-489f-8210-40c2b0714d0a/dev"
Normal SuccessfulMountVolume 73m kubelet MapVolume.MapPodDevice succeeded for volume "pvc-5100b562-7ad4-489f-8210-40c2b0714d0a" volumeMapPath "/var/lib/kubelet/pods/f6641b87-fd64-4289-87bb-fc91d0ea78cc/volumeDevices/kubernetes.io~csi"
Normal AddedInterface 73m multus Add eth0 [10.131.1.11/23] from openshift-sdn
Normal Pulled 73m kubelet Container image "registry.redhat.io/container-native-virtualization/virt-launcher@sha256:1158e1c0c282ca2ba6af6e9b71a79811d37ac4b51922f989f8f3da68a5800264" already present on machine
Normal Created 73m kubelet Created container compute
Normal Started 73m kubelet Started container compute
Warning DNSConfigForming 48m (x24 over 73m) kubelet Search Line limits were exceeded, some search paths have been omitted, the applied search line is: default.svc.cluster.local svc.cluster.local cluster.local
Warning MultiplePodDisruptionBudgets 48m (x8 over 73m) controllermanager Pod "default"/"virt-launcher-vm-ocs-win10-8m789" matches multiple PodDisruptionBudgets. Chose "kubevirt-disruption-budget-s6dvh" arbitrarily.
Warning FailedMount 48m kubelet MountVolume.SetUp failed for volume "sysprep" : object "default"/"sysprep-config" not registered
[kbidarka@localhost sysprep]$ oc get vmim vm-ocs-win10-migration-nhcxg -o yaml | grep phase
f:phase: {}
phase: Failed
Expected results:
LiveMigration should succeed
Additional info:
[kbidarka@localhost sysprep]$ oc get pods
NAME READY STATUS RESTARTS AGE
virt-launcher-vm-ocs-win10-8m789 0/1 Completed 0 72m
virt-launcher-vm-ocs-win10-q88ml 1/1 Running 0 75m
[kbidarka@localhost sysprep]$ oc get vmi
NAME AGE PHASE IP NODENAME READY
vm-ocs-win10 75m Running 10.xxx.y.aaa node-15.redhat.com True
[kbidarka@localhost sysprep]$ oc get vmi vm-ocs-win10 -o yaml | grep sysprep
name: sysprep
- name: sysprep
sysprep:
name: sysprep-config - name: sysprep
- external trackers