Bug 1850963

Summary: Can't install guest agents for windows guest from rhv-guest-tools-iso-4.3-12.el7ev automatically via rhev-apt
Product: Red Hat Enterprise Virtualization Manager Reporter: mxie <mxie>
Component: rhv-guest-tools-isoAssignee: Lev Veyde <lveyde>
Status: CLOSED ERRATA QA Contact: Petr Matyáš <pmatyas>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.3.11CC: dfediuck, gzaidman, jsuchane, juzhou, lleistne, lveyde, mtessun, mzhan, ptoscano, rdlugyhe, rjones, tgolembi, tyan, tzheng, xiaodwan, zili
Target Milestone: ovirt-4.3.11Keywords: Regression, ZStream
Target Release: 4.3.11   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: rhv-guest-tools-iso-4.3-13 Doc Type: Bug Fix
Doc Text:
Previously, installing guest agents for Windows guests from rhv-guest-tools-iso-4.3-12.el7ev using rhev-apt.exe failed because it could not verify a filename that exceeded Windows' 63-character limit. The current release fixes this issue. It renames the file with a shorter name, so the installation process works.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-30 10:07:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1753914, 1850052    
Attachments:
Description Flags
launch-RHV-tools-4.3-12-manually none

Comment 7 mxie@redhat.com 2020-06-25 11:00:13 UTC
Created attachment 1698773 [details]
launch-RHV-tools-4.3-12-manually

Comment 16 Gal Zaidman 2020-06-28 07:45:10 UTC
Lev I know the recent development on the 4.3 tools and apt was yours, can you have a look at this?

Comment 23 Tomáš Golembiovský 2020-06-30 16:41:53 UTC
My guess is the '+' character in the RPM file name confuses the hash-checker in rhev-apt. I don't see a reason why we should list the linux RPMs in CDHashes.txt. Those files are never going to be installed by rhev-apt so we don't necessarily have to verify them. Easiest solution would be to remove all of them from the file.

Comment 26 Tomáš Golembiovský 2020-06-30 16:43:56 UTC
Note that this needs to be fixed before release as it breaks the rhev-apt functionality for all Windows guests.

Comment 35 Lev Veyde 2020-07-01 14:22:49 UTC
Looks like the issue has to do with the Windows limitation of reading only the first 64 characters of the filename, even though their own documentation suggests that they support up to 110 Unicode characters in filename for Joliet based CDFS.
As a note there is no similar issue with reading the ISO on Linux.

Recently added Linux EL8 Qemu-Guest Agent RPM has a filename which exceeds this limitation, and this what caused this issue.

Fixing this by renaming the RPM, so that it will work with the Windows limitation.

Comment 38 Lev Veyde 2020-07-01 17:29:04 UTC
Ming, can you please verify that the fixed build works for you?

Comment 40 mxie@redhat.com 2020-07-03 09:34:00 UTC
(In reply to Lev Veyde from comment #38)
> Ming, can you please verify that the fixed build works for you?

Hi Lev, I think the bug has been fixed by rhv-guest-tools-iso-4.3-13 , details pls refer to https://bugzilla.redhat.com/show_bug.cgi?id=1753914#c56, thanks for your quick fix!

Comment 44 Petr Matyáš 2020-07-21 08:39:50 UTC
Verified as per bug 1753914 is verified, don't have other means of testing this as I have no VMWare instance available.
Unless there are steps to reproduce without virt-v2v I have no idea what to test here anyway.

Comment 49 errata-xmlrpc 2020-09-30 10:07:13 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 (Red Hat Virtualization Engine security, bug fix 4.3.11), 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:4112