Created attachment 1710943[details]
Convert vm to rhv without RHV tools ISO attached
Description of problem:
Converting a Windows vm to RHV without RHV-toolsSetup_4.3_13.iso attached on ISO_DOMAIN, then after vm booting up, navigate to Applications to check QEMU GA service
It will display between string-1 and string-2(50%-70% reproduce rate)
string-1: QEMU guest agent -->without version
string-2: qemu-guest-agent-101.1.0 -- >with version
Then try again with HV-toolsSetup_4.3_13.iso attached on ISO_DOMAIN, finding installed applications shows QEMU guest agent always.
Version-Release number of selected component (if applicable):
Conversion server with virtio-win package installed:
virt-v2v-1.40.2-25.module+el8.3.0+7421+642fe24f.x86_64
libguestfs-1.40.2-25.module+el8.3.0+7421+642fe24f.x86_64
libvirt-6.0.0-27.module+el8.3.0+7602+4b93512e.x86_64
qemu-kvm-4.2.0-31.module+el8.3.0+7437+4bb96e0d.x86_64
virtio-win-1.9.12-2.el8.noarch
nbdkit-1.16.2-4.module+el8.3.0+6922+fd575af8.x86_64
Red Hat Virtualization Manager Web Administration
Software Version: 4.3.9.1-0.1.el7
How reproducible:
100%
Steps to Reproduce:
Test scenario-1 RHV server without RHV-toolsSetup_4.3_13.iso attached on ISO_DOMAIN
1.1 Convert windows guest from VMware to rhv by virt-v2v
# virt-v2v -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 -o rhv-upload -os nfs_data -of raw -b ovirtmgmt -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 /home/rhvpasswd -oo rhv-cluster=Default -oo rhv-direct -ip /home/passwd -oo rhv-verifypeer=true -oo rhv-cafile=/home/ca.pem $windows_guest
1.2 Power on guest on rhv after v2v finishing conversion, verify firstboot, rhev-apt, qemu-ga is running normally, and there is no rhev-apt error in windows log and the certificate of rhev-apt is valid.
But after checking on rhv web page:
Select a virtual machine, then navigate to Applications, It will display between string-1 and string-2(50%-70% reproduce rate)
string-1: QEMU guest agent -->without version
string-2: qemu-guest-agent-101.1.0 -- >with version
Test scenario-2 RHV server with RHV-toolsSetup_4.3_13.iso attached on ISO_DOMAIN, then do conversion again
2.1 # virt-v2v -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 esx6.7-win2019-x86_64 -o rhv-upload -os nfs_data -of raw -b ovirtmgmt -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 /home/rhvpasswd -oo rhv-cluster=Default -oo rhv-direct -ip /home/passwd -oo rhv-verifypeer=true -oo rhv-cafile=/home/ca.pem
Result:
Installed Applications shows QEMU guest agent always(After checking the firstboot log, the qemu-ga is installed from the virtio-win package).
And Ovirt Agent service is listed by 'net start' command.
So compared to the above two testing scenarios, It seems the QEMU guest agent service is much more stable when Ovirt Agent service is running together.
Actual results:
As described.
Expected results:
Only shows QEMU-GA + version in the list and nothing more for test scenario-1
Additional info:
Comment 7Tomáš Golembiovský
2020-09-10 08:47:26 UTC
I am still not entirely sure why this is happening, but it is a problem in RHV 4.3. In 4.4. we are reporting only the format 'qemu-guest-agent-<version>'.