Description of problem: When targeted gathering a plan/namespace that includes more than 2 DataVolume CRs - the DV CRs are combined to one file, starting from the 2nd one. For example, mig-plan-cold plan contains 2 VMs, one of them has 2 disks: $ oc adm must-gather --image=quay.io/konveyor/forklift-must-gather:latest -- PLAN=mig-plan-cold /usr/bin/targeted $ tree must-gather/namespaces/openshift-mtv/ must-gather/namespaces/openshift-mtv/ ├── crs │ ├── datavolume │ │ ├── 4c18a230-46d4-4df1-9791-ec3215f2359a-2000.yaml │ │ └── 4c18a230-46d4-4df1-9791-ec3215f2359a-2001ddf5d922-6575-4687-b232-605fdc08ff91-2000.yaml $ cat 4c18a230-46d4-4df1-9791-ec3215f2359a-2001ddf5d922-6575-4687-b232-605fdc08ff91-2000.yaml Error from server (NotFound): datavolumes.cdi.kubevirt.io "4c18a230-46d4-4df1-9791-ec3215f2359a-2001ddf5d922-6575-4687-b232-605fdc08ff91-2000" not found Version-Release number of selected component (if applicable): MTV-2.1.0-52 iib 98758 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Thanks for reporting this, could be provideded a CR of the virtual machine with multiple DVs or an example on running OpenShift cluster? (I wasn't able reproduce such situation) Thanks!
Fix merged and backported https://github.com/konveyor/forklift-must-gather/pull/22
Fixed in MTV-2.2.0-84
Verified as fixed Versions: MTV 2.2.0-84 / iib:133381 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