Uploaded image for project: 'OpenShift Migration Toolkit for Containers'
  1. OpenShift Migration Toolkit for Containers
  2. MIG-1315

Direct volume migration Rsync options are failing on validation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • MTC 1.7.8
    • MTC 1.7.7
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Passed

    Description

      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.

      Attachments

        Activity

          People

            pgaikwad1@redhat.com Pranav Gaikwad
            rhn-support-parodrig Pablo Rodriguez Guillamon
            mohamed idays mohamed idays
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: