Bug 2011816 - Valid Rsync option is filtered out by the controller
Summary: Valid Rsync option is filtered out by the controller
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: Controller
Version: 1.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 1.7.0
Assignee: Pranav Gaikwad
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-07 13:11 UTC by Pranav Gaikwad
Modified: 2022-03-24 06:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-24 06:32:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-controller pull 1239 0 None open Bug 2011816: Fix extra options regex 2021-12-03 14:48:56 UTC
Red Hat Product Errata RHBA-2022:1043 0 None None None 2022-03-24 06:32:41 UTC

Description Pranav Gaikwad 2021-10-07 13:11:54 UTC
Description of problem:

When you pass `--ipv4` option through `rsync_opt_extras` variable in MigrationController, the option is not added to Rsync command. It is observed that the option is being filtered using a regex that only allows alphabetical characters in extra options. 

Version-Release number of selected component (if applicable):
1.6.0

How reproducible:
Always

Steps to Reproduce:
1. Set `rsync_opt_extras: --ipv4` in MigrationController CR
2. Run DVM
3. Observe that the option is not being passed to Rsync command

Actual results:

--ipv4 option is filtered out and never passed to Rsync command

Expected results:

--ipv4 is a valid option and it should not be filtered out.

Comment 6 errata-xmlrpc 2022-03-24 06:32:27 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 (Migration Toolkit for Containers (MTC) 1.7.0 release advisory), 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:1043


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