Bug 2026620 - Log download displays error message in the web console
Summary: Log download displays error message in the web console
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: Must-Gather
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 2.2.0
Assignee: Fabien Dupont
QA Contact: Maayan Hadasi
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-25 10:43 UTC by Maayan Hadasi
Modified: 2021-12-09 19:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-09 19:21:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor forklift-must-gather-api pull 20 0 None Merged Allow @ character in argument sanitizer 2021-11-26 15:33:19 UTC
Github konveyor forklift-must-gather-api pull 21 0 None Merged [BACKPORT] Allow @ character in argument sanitizer 2021-11-26 15:33:19 UTC
Red Hat Product Errata RHEA-2021:5066 0 None None None 2021-12-09 19:21:18 UTC

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


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