Bug 1849999

Summary: virt-v2v contains broken rhev-apt
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Pino Toscano <ptoscano>
Component: libguestfsAssignee: Pino Toscano <ptoscano>
Status: CLOSED ERRATA QA Contact: liuzi <zili>
Severity: high Docs Contact:
Priority: high    
Version: 8.3CC: aadam, juzhou, mtessun, mxie, ptoscano, rjones, tyan, tzheng, virt-maint, xiaodwan, zili
Target Milestone: rc   
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: V2V
Fixed In Version: libguestfs-1.40.2-24.module+el8.2.1+7154+47ffd890 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1849997
: 1850000 (view as bug list) Environment:
Last Closed: 2020-07-28 07:14:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1789327    
Bug Blocks:    
Attachments:
Description Flags
cannot find rhev-apt log
none
rhev-apt server is running none

Description Pino Toscano 2020-06-23 11:49:31 UTC
+++ This bug was initially created as a clone of Bug #1849997 +++

+++ This bug was initially created as a clone of Bug #1753914 +++

Since RHV 4.3 we have a bug in rhev-apt which prevent it from wworking correctly. Unfortunately with RHEL 7.7 you pulled in this broken. Because we don't have a build with the fix yet, could you revert to the previous version?

-----------------------------------

This was fixed in a new RHV Tools ISO build -- see bug 1753914 for all the details.

Comment 7 liuzi 2020-06-29 12:21:29 UTC
Created attachment 1699127 [details]
cannot find rhev-apt log

Comment 8 liuzi 2020-06-29 12:24:21 UTC
Created attachment 1699128 [details]
rhev-apt server is running

Comment 9 liuzi 2020-07-02 11:36:21 UTC
For comment6 problem 1,after researching,I find this problem maybe caused by RHV-toolsSetup_4.3_12.iso in rhv iso domain.
After removing the iso,I cannot reproduce the problem.

Verify the bug with builds:
virt-v2v-1.40.2-24.module+el8.2.1+7154+47ffd890.x86_64
libguestfs-1.40.2-24.module+el8.2.1+7154+47ffd890.x86_64
virtio-win-1.9.11-1.el8.noarch

Steps:
1.Convert different versions of windows guests to rhv4.3 by virt-v2v
# virt-v2v -ic vpx://root.73.141/data/10.73.196.89/?no_verify=1 -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   -ip /home/passwd  -o rhv-upload -oo rhv-direct -oc https://ibm-x3250m5-03.rhts.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -oo rhv-cafile=/home/ca.pem -oo rhv-verifypeer=true -of raw -os nfs_data -b ovirtmgmt  $windows_guest


2.Power on guest on rhv after v2v conversion, check if rhev-apt, guest agents are installed normally, if there is error info about rhev-apt in windows log, and if certificate is valid,Test result is as below:
Guest		Firstboot     rhv-apt	      qemu-ga	  Certificate valid  Show IP info rhv	windows log error
win2019		yes		yes		yes		yes		yes		no error
win2016		yes		yes		yes		yes		yes		no error
win2012		yes		yes		yes		yes		yes		no error
win10-x86_64	yes		yes		yes		yes		yes		no error
win10-i386	yes		yes		yes		yes		yes		no error
win8.1-i386	yes		yes		yes		yes		yes		no error
win8.1-x86_64	yes		yes		yes		yes		yes		no error
win2008		yes		yes		no		yes		no		no error
win8-i386	yes		yes		yes		yes		yes		no error
win8-x86_64	yes		yes		yes		yes		yes		no error

According to the above test results,now change the bug from ON_QA to VERIFIED.

Comment 11 errata-xmlrpc 2020-07-28 07:14:00 UTC
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-2020:3172