-
Bug
-
Resolution: Done
-
Major
-
MTC 1.7.7
-
None
-
None
-
False
-
-
False
-
Passed
-
-
When setting the migrationcontroller option `rsync_opt_extras: '--exclude=".snapshot"'` under its specs, we get errors with the option validation.
$ oc logs migration-controller-66966d6765-2tdbm -c mtc |grep "Invalid Rsync extra option passed" 2023-03-02T08:40:51.176837496Z {"level":"info","ts":1677746451.1768188,"logger":"directvolume","msg":"Invalid Rsync extra option passed","dvm":"stage-cad20-75w9x","migMigration":"stage-cad20","option":"--exclude=./.snapshot/"} 2023-03-02T08:41:04.962956793Z {"level":"info","ts":1677746464.962897,"logger":"directvolume","msg":"Invalid Rsync extra option passed","dvm":"stage-cad20-75w9x","migMigration":"stage-cad20","option":"--exclude=./.snapshot/"}
The directory to be excluded is a hidden directory and there are some many other options have been tried:
--exclude=.snapshot/
--exclude=".snapshot/"
--exclude=.snapshot
This validation error makes the migration never start.