Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9349 PFL known issues tracking ticket
  3. LU-9484

sanity test 17k fails with 'rsync failed with xattrs enabled'

Details

    • Technical task
    • Resolution: Fixed
    • Critical
    • Lustre 2.10.0
    • Lustre 2.10.0, Lustre 2.11.0
    • 9223372036854775807

    Description

      sanity test_17k fails when a default composite layout is set for the Lustre mount point with

      sanity test_17k: @@@@@@ FAIL: rsync failed with xattrs enabled
      

      From the test log, we can see lsetxattr() in rsync is failing

      == sanity test 17k: symlinks: rsync with xattrs enabled ============================================== 03:57:01 (1494388621)
      striped dir -i1 -c2 /mnt/lustre/d17k.sanity
      striped dir -i1 -c2 /mnt/lustre/d17k.sanity.new
      sending incremental file list
      ./
      f17k.sanity
      f17k.sanity.lnk -> /mnt/lustre/d17k.sanity/f17k.sanity
      rsync: rsync_xal_set: lsetxattr(""/mnt/lustre/d17k.sanity.new/.f17k.sanity.qR0FHg"","lustre.lov") failed: File exists (17)
      rsync: rsync_xal_set: lsetxattr(""/mnt/lustre/d17k.sanity.new/.f17k.sanity.qR0FHg"","trusted.lov") failed: File exists (17)
      
      sent 1628 bytes  received 48 bytes  1117.33 bytes/sec
      total size is 35  speedup is 0.02
      rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]
       sanity test_17k: @@@@@@ FAIL: rsync failed with xattrs enabled
      

      Logs for recent failures are at:
      https://testing.hpdd.intel.com/test_sets/f5d085aa-357c-11e7-b0a8-5254006e85c2
      https://testing.hpdd.intel.com/test_sets/2e962ed8-3534-11e7-814a-5254006e85c2

      Attachments

        1. pfl.txt
          19 kB
          Zhenyu Xu
        2. plain.txt
          11 kB
          Zhenyu Xu

        Issue Links

          Activity

            [LU-9484] sanity test 17k fails with 'rsync failed with xattrs enabled'
            jcasper James Casper (Inactive) made changes -
            Affects Version/s New: Lustre 2.11.0 [ 13091 ]
            jcasper James Casper (Inactive) made changes -
            Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 21492 ]

            Never mind. I see the sanity.sh test were updated and my test suite was missing those changes. It does work.

            simmonsja James A Simmons added a comment - Never mind. I see the sanity.sh test were updated and my test suite was missing those changes. It does work.
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones added a comment -

            Landed for 2.10

            pjones Peter Jones added a comment - Landed for 2.10

            I see this landed already. I was testing this with my LU-9183 xattr patch and I was seeing sanity 102a and 102n both failing. I thought it was due to my latest LU-9183 but I traced it down to this patch. I'm looking to see what the fix will be and I place the fix in patch https://review.whamcloud.com/#/c/27240. Strange it passed testing in maloo.

            simmonsja James A Simmons added a comment - I see this landed already. I was testing this with my LU-9183 xattr patch and I was seeing sanity 102a and 102n both failing. I thought it was due to my latest LU-9183 but I traced it down to this patch. I'm looking to see what the fix will be and I place the fix in patch https://review.whamcloud.com/#/c/27240 . Strange it passed testing in maloo.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27126/
            Subject: LU-9484 llite: eat -EEXIST on setting trunsted.lov
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 0e90e02ceddd60f24fac9709f3ab9e9421c80315

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27126/ Subject: LU-9484 llite: eat -EEXIST on setting trunsted.lov Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0e90e02ceddd60f24fac9709f3ab9e9421c80315

            Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/27311
            Subject: LU-9484 llite: eat -EEXIST on setting trusted.lov
            Project: fs/lustre-release
            Branch: pfl
            Current Patch Set: 1
            Commit: 44bbbfed3513798638e01f1ae2447faf80f7c15e

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/27311 Subject: LU-9484 llite: eat -EEXIST on setting trusted.lov Project: fs/lustre-release Branch: pfl Current Patch Set: 1 Commit: 44bbbfed3513798638e01f1ae2447faf80f7c15e
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.10.0 [ 12204 ]
            bobijam Zhenyu Xu added a comment -

            Yes, you are right, strace -f shows that in all cases, rsync creates temporary file.

            bobijam Zhenyu Xu added a comment - Yes, you are right, strace -f shows that in all cases, rsync creates temporary file.

            People

              bobijam Zhenyu Xu
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: