-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
rhel-9.0.0
-
None
-
Moderate
-
rhel-virt-tools
-
ssg_virtualization
-
5
-
False
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Created attachment 1675705 [details]
win2012r2 error log.png
Description of problem:
Fail to execute installation-qemu-ga.msi for win2012r2 and win8.1-i386 guests
Version-Release number of selected component (if applicable):
virt-v2v-1.40.2-22.module+el8.2.0+6029+618ef2ec.x86_64
libguestfs-1.40.2-22.module+el8.2.0+6029+618ef2ec.x86_64
virtio-win-1.9.9-3.el8.noarch
How reproducible:
for win2012r2 :100%
for win8.1-i386: 50%
Steps to Reproduce:
1.Set environment
1)For the conversion server: setup export VIRTIO_WIN=/usr/share/virtio-win/
2)Make sure the guest already installed powershell.
2.Convert a win2012r2 guest to rhv
2.1 # virt-v2v -ic vpx://root@10.73.73.141/data/10.73.196.89/?no_verify=1 -o rhv-upload -os nfs_data -of raw esx6.5-win2012r2-x86_64 -on esx6.5-win2012r2-qemu-ga -it vddk -io vddk-libdir=/home/vmware-vix-disklib-distrib/ -io vddk-thumbprint=1F:97:34:5F:B6:C2:BA:66:46:CB:1A:71:76:7D:6B:50:1E:03:00:EA -oc https://ibm-x3250m5-03.rhts.eng.pek2.redhat.com/ovirt-engine/api -op /tmp/rhvpasswd -oo rhv-cafile=/home/ca.pem -oo rhv-cluster=Default -oo rhv-verifypeer=true -oo rhv-direct -ip /tmp/passwd
[ 0.4] Opening the source -i libvirt -ic vpx://root@10.73.73.141/data/10.73.196.89/?no_verify=1 esx6.5-win2012r2-x86_64 -it vddk -io vddk-libdir=/home/vmware-vix-disklib-distrib/ -io vddk-thumbprint=1F:97:34:5F:B6:C2:BA:66:46:CB:1A:71:76:7D:6B:50:1E:03:00:EA
[ 2.2] Creating an overlay to protect the source from being modified
[ 5.3] Opening the overlay
[ 11.7] Inspecting the overlay
[ 16.8] Checking for sufficient free disk space in the guest
[ 16.8] Estimating space required on target for each disk
[ 16.8] Converting Windows Server 2012 R2 Standard to run on KVM
virt-v2v: warning: /usr/share/virt-tools/pnp_wait.exe is missing.
Firstboot scripts may conflict with PnP.
virt-v2v: warning: there is no QXL driver for this version of Windows (6.3
x86_64). virt-v2v looks for this driver in
/usr/share/virtio-win/virtio-win.iso
The guest will be configured to use a basic VGA display driver.
virt-v2v: This guest has virtio drivers installed.
[ 23.1] Mapping filesystem data to avoid copying unused and blank areas
[ 23.9] Closing the overlay
[ 23.9] Assigning disks to buses
[ 23.9] Checking if the guest needs BIOS or UEFI to boot
[ 23.9] Initializing the target -o rhv-upload -oc https://ibm-x3250m5-03.rhts.eng.pek2.redhat.com/ovirt-engine/api -op /tmp/rhvpasswd -os nfs_data
[ 25.1] Copying disk 1/1 to qemu URI json:
(raw)
(100.00/100%)
[1008.4] Creating output metadata
[1010.0] Finishing off
2.2 Conversion can be finished successfully,and boot guest on rhv
2.3 Check if the guest has installed qume-guest-agent and the service is running normally.
a.Can find qemu-ga-x86_64 windows installer package in C:/
b.Can not find qemu-ga log file named qemu-ga-x86_64.msi in C:/.
c.Can not find qemu-ga service in guest.
d.Firstboot log:install service exit code 1,pls refer to screencut
Actual results:
virt-v2v cannot install qemu-ga and rhv-apt to win2012r2 guest during conversion.pls refer to attachment
Expected results:
can install qemu-ga and rhv-apt to win2012r2 and win10-i386 guests.
Additional info:
1.This bug can be reproduced in win8.1-i386,but cannot reproduced 100%. I test 6 times,only can be reproduced 3 times.
- external trackers