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

Bug 1902035

Summary: MTV pod logs added to "must-gather" tool
Product: Migration Toolkit for Virtualization Reporter: Ilanit Stein <istein>
Component: GeneralAssignee: Marek Aufart <maufart>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact: Avital Pinnick <apinnick>
Priority: medium    
Version: 2.0.0CC: amastbau, dagur, fdupont, maufart, mguetta
Target Milestone: ---Keywords: FutureFeature
Target Release: 2.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-10 17:11:26 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
must-guther none

Description Ilanit Stein 2020-11-26 15:52:59 UTC
Description of problem:
Add MTV pods logs to Openshift "must-gather" log collector.

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

Comment 1 Fabien Dupont 2020-11-26 16:26:28 UTC
I have created the upstream repository: https://github.com/konveyor/forklift-must-gather.

Comment 3 Fabien Dupont 2021-03-31 06:54:23 UTC
This should be part of build 2.0.0-8 / iib:62459.

The image is not deployed by the operator, because it needs to be run manually.
The instructions are in the README of the upstream repo: https://github.com/konveyor/forklift-must-gather.
The image to use is registry-proxy.engineering.redhat.com/rh-osbs/rhmtv-rhmtv-must-gather:2.0.0, as it always points to the latest build.

Comment 6 Fabien Dupont 2021-04-19 09:04:41 UTC
AFAIU, the CDI and VMIO controller logs are collected, not the importer and conversion pods logs, since the pods are deleted when the VirtualMachineImport completes.
This will be part of a new change, once MTV implements the new Plan state named Archived. This will always create VirtualMachineImport in debug mode, and will keep the assets until the plan is archived.
So, for any plan that is not archived, must-gather will be able to collect the importer and conversion pods logs. But not now.

Comment 7 Amos Mastbaum 2021-04-28 11:18:39 UTC
Created attachment 1776548 [details]
must-guther

Comment 8 Amos Mastbaum 2021-04-28 11:23:47 UTC
pprof_raw_payload is missing from:  must-gather/memory-profiles/openshift-rhmtv/pprof_raw_payload is missing (full gz attached)

Comment 10 Marek Aufart 2021-04-29 12:40:57 UTC
Looking on attached must-gather archive, its content looks well to me. The memory profile was not part of this BZ (depends on MTC), I'm about remove the memory profile section from forklift must-gather.

Comment 13 errata-xmlrpc 2021-06-10 17:11:26 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.0.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:2381