Bug 1944402 - Enable log download in web console
Summary: Enable log download in web console
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: Must-Gather
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 2.2.0
Assignee: Marek Aufart
QA Contact: Maayan Hadasi
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-29 21:08 UTC by Nandini Chandra
Modified: 2021-12-09 19:20 UTC (History)
5 users (show)

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


Attachments (Terms of Use)
forklift-must-gather-api pod's log (5.61 KB, text/plain)
2021-10-20 09:04 UTC, Maayan Hadasi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:5066 0 None None None 2021-12-09 19:20:52 UTC

Description Nandini Chandra 2021-03-29 21:08:11 UTC
Description of problem:
----------------------
During the usability testing, it was brought up that it would be nice to 
be able to download pod logs and other relevant logs from MTV UI in order to  troubleshoot migration failures. 

Also, see   
https://bugzilla.redhat.com/show_bug.cgi?id=1902035
Add MTV pods logs to Openshift "must-gather" log collector 

We are already collecting pod logs using the must-gather log collector.


Version-Release number of selected component (if applicable):
-------------------------------------------------------------


How reproducible:
----------------


Steps to Reproduce:
-------------------
1.
2.
3.


Actual results:
---------------


Expected results:
-----------------


Additional info:
----------------

Comment 1 Fabien Dupont 2021-04-15 11:54:51 UTC
Lowering severity to medium, since it doesn't prevent MTV from working.

Comment 2 Fabien Dupont 2021-04-16 07:17:17 UTC
Marek - "Actually what makes most sense to me currently is to run a long-living pod (e.g. in migration namespace) which will serve HTTP API which calls will execute oc adm must-gather command locally on the pod and expose created archive back via HTTP."

Comment 3 Mike Turley 2021-06-14 19:32:31 UTC
@fdupont, @maufart, do you think we should re-target this for 2.2.0? it looks like it still needs backend work and also it will need some UI design effort.

Comment 4 Fabien Dupont 2021-06-17 12:48:10 UTC
We're not in a situation to provide this feature in MTV 2.1.0. Re-targeting to MTV 2.2.0.

Comment 5 Marek Aufart 2021-07-29 14:08:34 UTC
Details about this feature are described in Konveyor enhancements repo: https://github.com/konveyor/enhancements/pull/37/files

Comment 6 Fabien Dupont 2021-10-11 09:05:04 UTC
Please verify with mtv-operator-bundle-2.2.0-41 / iib:122011, or later.

Comment 7 Maayan Hadasi 2021-10-20 09:04:57 UTC
Created attachment 1834980 [details]
forklift-must-gather-api pod's log

Verified with mtv-operator-bundle-2.2.0-57 / iib: 126435
Once pressing on `Get logs` in MTV UI - it shows "Cannot complete must gather for <migration-plan-name>"
Attached is forklift-must-gather-api pod's log

Moving the issue to ASSIGNED

Comment 10 Fabien Dupont 2021-10-22 07:08:43 UTC
Please verify with mtv-operator-bundle-2.2.0-63 / iib:127756, or later.

Comment 11 Maayan Hadasi 2021-11-01 14:29:07 UTC
Verified with MTV 2.2.0-69 / iib:130005

Comment 14 errata-xmlrpc 2021-12-09 19:20:45 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.