Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-13154

Interop: sanity-quota test 66 fails with 'nonroot user should fail to set projid'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0, Lustre 2.12.5
    • Lustre 2.14.0, Lustre 2.12.4
    • Interop testing with servers older than clients (see the description)
    • 3
    • 9223372036854775807

    Description

      sanity-quota test_66 fails with 'nonroot user should fail to set projid'. Looking at the output in the client test_log, we see that we are unable to set the enable_chprojid_gid parameter:

      CMD: trevis-44vm9 /usr/sbin/lctl get_param -n mdt.*.enable_chprojid_gid
      trevis-44vm9: error: get_param: param_path 'mdt/*/enable_chprojid_gid': No such file or directory
      CMD: trevis-44vm9 /usr/sbin/lctl set_param mdt.*.enable_chprojid_gid=0
      trevis-44vm9: error: set_param: param_path 'mdt/*/enable_chprojid_gid': No such file or directory
      lfs project -sp 1000 /mnt/lustre/d66.sanity-quota/foo
      running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
       [mkdir] [/mnt/lustre/d66.sanity-quota/foo/foo]
      running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
       [lfs] [project] [-p] [0] [/mnt/lustre/d66.sanity-quota/foo/foo]
       sanity-quota test_66: @@@@@@ FAIL: nonroot user should fail to set projid 
      

      Looking at the patch for LU-12826, we can see that patch https://review.whamcloud.com/36544/ added this test and implemented the enable_chprojid_gid parameter. The test does not have a version check, but needs one. This patch landed to lustre-master with version 2.13.50.114 and for b2_12 with version 2.12.3.89.

      Logs for failures are at
      2.10.8 servers/2.12.3.93 clients: https://testing.whamcloud.com/test_sets/f2d41664-3461-11ea-bb75-52540065bddc
      2.12.3 servers/2.13.50.206 clients: https://testing.whamcloud.com/test_sets/09bbb624-34a4-11ea-b0f4-52540065bddc
      2.11.0 servers/2.12.3.93 clients: https://testing.whamcloud.com/test_sets/efa5ffda-346a-11ea-b1e8-52540065bddc

      Attachments

        Issue Links

          Activity

            People

              wshilong Wang Shilong (Inactive)
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: