Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1944402

Summary: Enable log download in web console
Product: Migration Toolkit for Virtualization Reporter: Nandini Chandra <nachandr>
Component: Must-GatherAssignee: Marek Aufart <maufart>
Status: CLOSED ERRATA QA Contact: Maayan Hadasi <mguetta>
Severity: medium Docs Contact: Avital Pinnick <apinnick>
Priority: high    
Version: 2.0.0CC: fdupont, istein, kpunwatk, maufart, mturley
Target Milestone: ---Keywords: RFE, UsabilityStudyPriority
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:20:45 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:
Attachments:
Description Flags
forklift-must-gather-api pod's log none

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