Bug 2026620

Summary: Log download displays error message in the web console
Product: Migration Toolkit for Virtualization Reporter: Maayan Hadasi <mguetta>
Component: Must-GatherAssignee: Fabien Dupont <fdupont>
Status: CLOSED ERRATA QA Contact: Maayan Hadasi <mguetta>
Severity: high Docs Contact: Avital Pinnick <apinnick>
Priority: high    
Version: 2.2.0CC: istein, maufart
Target Milestone: ---   
Target Release: 2.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-09 19:21:13 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:

Description Maayan Hadasi 2021-11-25 10:43:33 UTC
Description of problem:
Once clicking on 'Get logs' - logs collection fails. An error message is displayed in MTV UI and in the 'Get logs' button's tooltip (screenshot is attached)


Version-Release number of selected component (if applicable):
MTV 2.2.0-97 / iib:138532


How reproducible:
100%


Attachments:
MTV UI screenshot
forklift-must-gather-api log


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Fabien Dupont 2021-11-26 15:33:20 UTC
The problem is coming from the argument sanitizer that is a bit too aggressive and modifies the must-gather image name. Then, "oc must-gather" fails because it cannot pull the image.
This is fixed by https://github.com/konveyor/forklift-must-gather-api/pull/20 that allows '@' character in the arguments.

Please verify with mtv-operator-bundle-container-2.2.0-100 / ii:138977, or later.

Comment 4 Maayan Hadasi 2021-11-28 08:06:37 UTC
Verified as fixed

Versions:
MTV 2.2.0-100 / iib:138977
CNV 4.9.1-23 / iib:133012

Comment 7 errata-xmlrpc 2021-12-09 19:21: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 (MTV 2.2.0 Images), 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/RHEA-2021:5066