Bug 2106471 - Targeted collection fails for a VM if its name is a sub string of another VM in the same namespace
Summary: Targeted collection fails for a VM if its name is a sub string of another VM ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: Must-Gather
Version: 2.3.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 2.3.2
Assignee: Sam Lucidi
QA Contact: Maayan Hadasi
Richard Hoch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-12 18:25 UTC by Ilanit Stein
Modified: 2022-07-21 13:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-21 13:48:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor forklift-must-gather pull 55 0 None Merged Backport #54 to v2.3.2 2022-07-12 19:40:10 UTC
Red Hat Product Errata RHBA-2022:5679 0 None None None 2022-07-21 13:48:46 UTC

Description Ilanit Stein 2022-07-12 18:25:57 UTC
Description of problem:
For a successful 20 VMs cold migration plan, Get logs for 2 out of 20 failed.  
The VM names are all the same with only the suffix different.

Sam Lucidi investigated and found:
"Targeted collection fails for a VM if its name is a sub string of another VM in the same namespace". 

Version-Release number of selected component (if applicable):
OCP-4.10/CNV-4.10/MTV-2.3.1/MTV-2.3.2

Additional info:
This bug is already fixed by Sam Lucidi - https://github.com/konveyor/forklift-must-gather/pull/54:
"This is due to grep returning multiple matches for the name. 
Add -w flag to do a whole-word comparison and avoid the collision."

Comment 1 Amos Mastbaum 2022-07-18 09:20:00 UTC
Verified
4.10.22	STAGE (4.10.3-22) Jul 14	2.3.2-11

Comment 4 errata-xmlrpc 2022-07-21 13:48:39 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.3.2 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/RHBA-2022:5679


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