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: ----------------
Lowering severity to medium, since it doesn't prevent MTV from working.
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."
@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.
We're not in a situation to provide this feature in MTV 2.1.0. Re-targeting to MTV 2.2.0.
Details about this feature are described in Konveyor enhancements repo: https://github.com/konveyor/enhancements/pull/37/files
Please verify with mtv-operator-bundle-2.2.0-41 / iib:122011, or later.
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
Please verify with mtv-operator-bundle-2.2.0-63 / iib:127756, or later.
Verified with MTV 2.2.0-69 / iib:130005
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