Hide Forgot
Created attachment 1180946 [details] auto-debug-log Description of problem: virtio driver can't be installed for netwrok automatically in win2012 guest sometimes when convert the guest using virt-v2v by auto Version-Release number of selected component (if applicable): virt-v2v-1.32.6-1.el7.x86_64 libguestfs-1.32.6-1.el7.x86_64 libvirt-2.0.0-2.el7.x86_64 qemu-kvm-rhev-2.6.0-13.el7.x86_64 How reproducible: 30% Steps to Reproduce: 1.Build auto task that convert win2012 guest from vmware to rhev 20 times by virt-v2v 2.About 30% guests would be failed, the reason is that virtio driver is not installed for network so that there is not available ip in win2012 guest,pls refer to details log and screenshot 3.Update network virtio drvier by manual, then the driver could be insuccessfully Actual results: As above description Expected results: QXL driver can be always installed for network automatically in win2012 guest when convert the guest using virt-v2v by auto Additional info: virtio driver could be always installed automatically in win2012 guest when convert the guest using virt-v2v by maunal
Created attachment 1180947 [details] screenshot
If delete win2012 guest in data domain whose network virtio driver is not installed automatically during virt-v2v auto testing, then import this guest from export domain to data domain again, found that the network virtio driver could be installed automatically at this time, it seems like there is something wrong with importing action during v2v auto testing sometimes, just for your reference,thanks
This bug also could be reproduced on win7sp1 guest sometimes: Version-Release number of selected component (if applicable): libguestfs-1.32.6-4.el7.x86_64 virt-v2v-1.32.6-4.el7.x86_64 qemu-kvm-rhev-2.6.0-18.el7.x86_64 libvirt-2.0.0-4.el7.x86_64 virtio-win-1.8.0-5.el7.noarch Steps to Reproduce: 1.Convert Windows 7 Utimate Service Pack 1 guest to rhev by virt-v2v # virt-v2v -o rhev -os 10.73.72.75:/home/p2v_export kvm-win7-i386-qcow2 --password-file /tmp/passwd -b ovirtmgmt -n ovirtmgmt 2.After conversion, import the guest from export domain to data domain at rhevm 3.Power on the guest and open guest's console to check what drivers are installing, found that virtio driver are not installed for disk and network automatically(has a exist bug1356550 to track the problem: qxl is not installed for video automatically) pls refer to screenshot"win7sp1-1" 4.At this time, windows system will remind user to restart the guest for installing driver, but virtio driver still can't be installed for network automatically after restart the guest two times, pls refer to screenshot"win7sp1-2" 5.Could update virtio driver for network by manual,details log pls refer to log:https://libvirt-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/v2v/view/RHEL-7.3/job/v2v-RHEL-7.3-runtest-x86_64-acceptance-ovirt/11/testReport/rhev/convert_vm_to_ovirt/kvm_windows_win7_i386_qcow2_f_NFS/
Created attachment 1187739 [details] win7sp1-1
Created attachment 1187740 [details] win7sp1-2
I'm going to say that we'll just see what the updated windows driver installation code does in RHEL 7.4, and hope for the best.
Verify the bug with builds: virt-v2v-1.36.3-1.el7.x86_64 libguestfs-1.36.3-1.el7.x86_64 qemu-kvm-1.5.3-135.el7.x86_64 virtio-win-1.9.0-3.el7.noarch libvirt-3.1.0-2.el7.x86_64 libguestfs-winsupport-7.2-2.el7.x86_64 Steps: 1.Build auto job:converting win2012 guest from vmware to rhv by virt-v2v 20 times Result: All win2012 guests could be converted successfully and checkpoints are passed So the bug has been fixed, move the bug from ON_QA to VERIFIED
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, 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/RHBA-2017:2023