...
Description of problem: cannot install qemu-ga to some guests even though the scheduled installation task exist 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: 100% Steps to Reproduce: Set environment 1)For the conversion server: setup export VIRTIO_WIN=/usr/share/virtio-win/ 2)Make sure the guest already installed powershell. Scenario 1:convert a win2008r2-x86_64 guest to rhv: 1.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-win2008r2-x86_64 -on esx6.5-win2008r2-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.8] Opening the source -i libvirt -ic vpx://root@10.73.73.141/data/10.73.196.89/?no_verify=1 esx6.5-win2008r2-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.7] Creating an overlay to protect the source from being modified [ 6.1] Opening the overlay [ 12.4] Inspecting the overlay [ 23.0] Checking for sufficient free disk space in the guest [ 23.0] Estimating space required on target for each disk [ 23.0] Converting Windows Server 2008 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: This guest has virtio drivers installed. [ 25.2] Mapping filesystem data to avoid copying unused and blank areas [ 26.2] Closing the overlay [ 26.2] Assigning disks to buses [ 26.2] Checking if the guest needs BIOS or UEFI to boot [ 26.2] 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 [ 27.4] Copying disk 1/1 to qemu URI json: { "file.driver": "nbd", "file.path": "/var/tmp/rhvupload.zffIeC/nbdkit0.sock", "file.export": "/" } (raw) (100.00/100%) [ 827.1] Creating output metadata [ 828.5] Finishing off 1.2 Conversion can be finished successfully,and boot guest on rhv 1.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.There is 0002-installation-qemu-ga.msi in c:/Program Files/Guestfs/Firstboot/scripts-done 1.4 After removing the 'echo off' commands from batch files,and run command in cmd,find installation task already exist. Details pls refer to attachment named 'win2008r2-qemu-ga installation task'. Actual results: cannot install qemu-ga to win2008r2 guest even though the task already exist. Expected results: can install qemu-ga to win2008r2 guest when the installation task exist Additional info: 1.Can reproduce the bug for win7-86_64 and win2008-x86_64 guests.
Won't Do