Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-12021

[volsync v0.9.z] VolSync - rsync-tls fails to sync if many files in the root of the source PVC

XMLWordPrintable

    • Important
    • No

      Description of problem:  

      This is a clone of issue: https://issues.redhat.com/browse/ACM-12001

      Created this issue to track fixing in ACM 2.10.4 timeline (VolSync v0.9.2)

       

      Rsync-TLS mover only

      Rsync-tls uses globbing to get the file list to send to the destination, both these cmds can fail with Arguments list too long error if there are too many files (or filenames too long) for files/directories in the root directory of the source PVC.

       

      ARGS_MAX can be different values on different linux versions, but have been able to reproduce with ~60k files in the root of the source PVC.

       

      See more details in upstream bug: https://github.com/backube/volsync/issues/1290

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

      How reproducible:

      Steps to Reproduce:

      1. Create source PVC with 60k files or dirs (easier to create if using long file names) in the root of the PVC
      2. Create a replicationsource/dest using rsync-tls to sync this to the destination
      3. Check the destination after replication is complete and compare to ensure all files/dirs were copied correctly

      Actual results:

      Files from the source may not be copied to the destination

       

      Expected results:

       

      All files should be copied to the destination

      Additional info:

            tflower@redhat.com Tesshu Flower
            tflower@redhat.com Tesshu Flower
            Thuy Nguyen Thuy Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: