Bug 1867560 - Only shows "QEMU-GA + version" in applications list when converting windows vm to rhv without RHV tools ISO attached on ISO_DOMAIN
Summary: Only shows "QEMU-GA + version" in applications list when converting windows ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-guest-agent
Version: 4.3.9
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Tomáš Golembiovský
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-10 11:28 UTC by zhoujunqin
Modified: 2020-09-10 11:39 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-10 11:39:50 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Convert vm to rhv without RHV tools ISO attached (4.61 MB, text/plain)
2020-08-10 11:28 UTC, zhoujunqin
no flags Details
Convert vm to rhv with RHV tools ISO attached (4.61 MB, text/plain)
2020-08-10 11:34 UTC, zhoujunqin
no flags Details
screenshot-1 without version (146.09 KB, image/png)
2020-08-10 11:38 UTC, zhoujunqin
no flags Details
screenshot-2 with version (152.86 KB, image/png)
2020-08-10 11:39 UTC, zhoujunqin
no flags Details
With attaching RHV tools ISO (58.74 KB, image/png)
2020-08-10 12:14 UTC, zhoujunqin
no flags Details

Description zhoujunqin 2020-08-10 11:28:01 UTC
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 1 zhoujunqin 2020-08-10 11:34:49 UTC
Created attachment 1710944 [details]
Convert vm to rhv with RHV tools ISO attached

Comment 2 zhoujunqin 2020-08-10 11:38:54 UTC
Created attachment 1710945 [details]
screenshot-1 without version

Comment 3 zhoujunqin 2020-08-10 11:39:54 UTC
Created attachment 1710946 [details]
screenshot-2 with version

Comment 4 zhoujunqin 2020-08-10 12:14:02 UTC
Created attachment 1710950 [details]
With attaching RHV tools ISO

Comment 7 Tomáš 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>'.


Note You need to log in before you can comment on or make changes to this bug.