Bug 2023680
| Summary: | "Importer" and "Conversion" pod logs in namespaces other than "openshift-mtv" not included in logs downloaded by using the web console. | ||
|---|---|---|---|
| Product: | Migration Toolkit for Virtualization | Reporter: | Maayan Hadasi <mguetta> |
| Component: | Must-Gather | Assignee: | Marek Aufart <maufart> |
| Status: | CLOSED ERRATA | QA Contact: | Maayan Hadasi <mguetta> |
| Severity: | high | Docs Contact: | Avital Pinnick <apinnick> |
| Priority: | unspecified | ||
| Version: | 2.2.0 | CC: | fbladilo, 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: | |||
|
Description
Maayan Hadasi
2021-11-16 10:43:02 UTC
Fix for virt-launcher was merged and backported https://github.com/konveyor/forklift-must-gather/pull/26 CDI-imported are subject os BZ/RFE https://bugzilla.redhat.com/show_bug.cgi?id=2024506 If the virt-launcher pod logs are missing, please check first if the pod is even present in the cluster. If the virt-launcher pod is expected, but not found in given namespace, must-gather command prints warning bellow: ... [must-gather-vrcm4] POD 2021-11-19T09:23:39.899903093Z Virt-launcher Pod for name-space,v2v-migration-warm-rhel8-2disks2nics doesn't exist, skipping. ... Please verify with the mtv-operator-bundle-container-v2.2.0-90 / iib:136635, or later. The issue was tested with MTV build 2.2.0-90 / iib:136635 and looks like it was partially fixed. When the target namespace is other than openshift-mtv, CDI-importer logs are collected but there are no virt-v2v conversion logs Sorry for misunderstanding about the log from virt-v2v conversion pods vs. virt-launcher/CDI-import pods. Fix PR is up https://github.com/konveyor/forklift-must-gather/pull/32 Backported in https://github.com/konveyor/forklift-must-gather/pull/33 The issue is reproducible using MTV 2.2.0-96 / iib:137780 virt-v2v conversion logs are not included in the logs file downloaded from UI Moving back to ASSIGNED Thanks for reporting it, there are outdated (not latest) must-gather images in the deployment. Seems that we had a race condition between two builds and the wrong commit was used to build 2.2.0-96. Please verify with the mtv-operator-bundle-container-v2.2.0-97 / iib:138532, or later. Verification is blocked due to Bug 2026620 - [Targeted must-gather][UI] Cannot complete must-gather for migration plan/VM Please verify with mtv-operator-bundle-container-2.2.0-100 / ii:138977, or later. @maufart Hi,
Using MTV 2.2.0-100, I can see that for a migration plan with 2 VMs, one of the available virt-v2v conversion logs is missing (mig-plan-cold-vm-8325-ksqld):
$ tree
.
└── must-gather
└── namespaces
├── mguetta
│ ├── crs
│ │ ├── datavolume
│ │ │ ├── mig-plan-cold-vm-7958-gbx4x.yaml
│ │ │ ├── mig-plan-cold-vm-7958-n2vd5.yaml
│ │ │ └── mig-plan-cold-vm-8325-jhx7d.yaml
│ │ └── virtualmachine
│ │ ├── mguetta-2disks-for-warm.yaml
│ │ └── mguetta-win2019.yaml
│ └── logs
│ ├── importer-mig-plan-cold-vm-7958-gbx4x
│ │ └── current.log
│ ├── importer-mig-plan-cold-vm-7958-n2vd5
│ │ └── current.log
│ ├── importer-mig-plan-cold-vm-8325-jhx7d
│ │ └── current.log
│ ├── mig-plan-cold-vm-7958-gd7m4
│ │ └── current.log
│ └── virt-launcher-mguetta-2disks-for-warm-59r5m
│ └── current.log
└── openshift-mtv
├── crs
│ └── plan
│ └── mig-plan-cold.yaml
└── logs
└── forklift-controller-547db9b7f9-txfv8
└── current.log
THanks for report and proving env for checking, you're right, I'm working on fix. (In reply to Marek Aufart from comment #13) > THanks for report and proving env for checking, you're right, I'm working on > fix. Thanks for the confirmation. Moving to ASSIGNED Backported in https://github.com/konveyor/forklift-must-gather/pull/35 Verified as fixed. Versions: MTV 2.2.0-102 / iib:139741 CNV 4.9.1-23 / iib:133012 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 |