Bug 1902035 - MTV pod logs added to "must-gather" tool
Summary: MTV pod logs added to "must-gather" tool
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: General
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.0.0
Assignee: Marek Aufart
QA Contact: Ilanit Stein
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-26 15:52 UTC by Ilanit Stein
Modified: 2021-06-10 17:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-10 17:11:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
must-guther (3.59 MB, application/gzip)
2021-04-28 11:18 UTC, Amos Mastbaum
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:2381 0 None None None 2021-06-10 17:11:39 UTC

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


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