Bug 2024506

Summary: Some "Importer" pod logs missing from logs downloaded by using the web console
Product: Migration Toolkit for Virtualization Reporter: Maayan Hadasi <mguetta>
Component: Must-GatherAssignee: Marek Aufart <maufart>
Status: CLOSED ERRATA QA Contact: Maayan Hadasi <mguetta>
Severity: high Docs Contact: Avital Pinnick <apinnick>
Priority: high    
Version: 2.2.0CC: fdupont, istein, maufart
Target Milestone: ---   
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:21:12 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 log none

Description Maayan Hadasi 2021-11-18 08:36:40 UTC
Created attachment 1842525 [details]
forklift-must-gather-api log

Description of problem:
The archive file downloaded from UI contains only one CDI-importer while there are 3 importer logs available.

Here is the targeted must-gather command from the forklift-must-gather-api log (log is attached):
2021/11/18 08:04:07 Must-gather execution #2 with image: quay.io/konveyor/forklift-must-gather and custom-command: PLAN=mig-plan-test /usr/bin/targeted

mig-plan-test plan includes 2 RHEL8 VM:
vm-2463 has one disk
vm-7958 has 2 disks


$ tree
.
└── namespaces
    └── openshift-mtv
        ├── crs
        │   ├── datavolume
        │   │   ├── mig-plan-test-vm-2463-rpcrc.yaml
        │   │   ├── mig-plan-test-vm-7958-g557b.yaml
        │   │   └── mig-plan-test-vm-7958-lkkds.yaml
        │   ├── plan
        │   │   └── mig-plan-test.yaml
        │   └── virtualmachine
        │       ├── mguetta-2disks-for-warm.yaml
        │       └── mguetta-rhel8-for-warm.yaml
        └── logs
            ├── forklift-controller-55fc68bb8c-s6flp
            │   └── current.log
            ├── importer-mig-plan-test-vm-2463-rpcrc
            │   └── current.log
            ├── mig-plan-test-vm-2463-s8vtz
            │   └── current.log
            ├── mig-plan-test-vm-7958-fm878
            │   └── current.log
            ├── virt-launcher-mguetta-2disks-for-warm-2rt6f
            │   └── current.log
            └── virt-launcher-mguetta-rhel8-for-warm-tk44n
                └── current.log 


Version-Release number of selected component (if applicable):
MTV 2.2.0-88 / iib:135478


How reproducible:
100%


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Marek Aufart 2021-11-18 17:07:10 UTC
Upstream PR https://github.com/konveyor/forklift-must-gather/pull/27

Comment 2 Marek Aufart 2021-11-19 09:10:02 UTC
Backported by https://github.com/konveyor/forklift-must-gather/pull/28

I'm going to continue on testing latest changes during Friday, but once delivered in a build, it is ready for QE.

Comment 3 Marek Aufart 2021-11-19 15:00:02 UTC
If the Importer pod logs are missing, please check first if these pods are even present in the cluster. If the importer pod is expected, but not found in given namespace, must-gather command prints warning bellow:

...
[must-gather-cz4m9] POD 2021-11-19T09:20:40.038209657Z Importer Pod for name-space,mtv-api-tests-21-18-11-16-23-37-4ef-plan-vm-8042-k2sxk doesn't exist, skipping.
...

Comment 4 Fabien Dupont 2021-11-20 07:37:33 UTC
Please verify with the mtv-operator-bundle-container-v2.2.0-90 / iib:136635, or later.

Comment 5 Maayan Hadasi 2021-11-22 11:39:20 UTC
Verified as fixed

Versions:
MTV 2.2.0-90 / iib:136635
CNV 4.9.1-23 / iib:133012

Comment 8 errata-xmlrpc 2021-12-09 19:21:12 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