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

Use "setfacl" to set "default" setting fail when nodemap enabled

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.11.0, Lustre 2.10.2
    • None
    • None
    • Lustre 2.9
    • 3
    • 9223372036854775807

    Description

      Hi ,

      When we setfacl default in lustre directory, I got unmapping group id(getfacl) after first setting(setfacl) . Then we executed setfacl command again and got fail ( Operation not permitted).

      Please help us to fix this problem. Thanks!

      The detail information is listed below.

      1.cat /etc/passwd
      user1:x:1001:1001::/home/user1:/bin/bash
      2.nodemap setting
      nodemap.21b7e9f04fed448e.idmap=
      [
      .....

      { idtype: gid, client_id: 1001, fs_id: 23501 }

      ,
      .....
      ]
      3.setfacl steps
      [root@hsm client]# mkdir hadoop3
      [root@hsm client]# getfacl /mnt/client/hadoop3
      getfacl: Removing leading '/' from absolute path names
      file: mnt/client/hadoop3
      owner: root
      group: root
      user::rwx
      group::r-x
      other::r-x
      [root@hsm client]# setfacl -R -d -m group:user1:rwx /mnt/client/hadoop3
      [root@hsm client]# getfacl /mnt/client/hadoop3
      getfacl: Removing leading '/' from absolute path names
      file: mnt/client/hadoop3
      owner: root
      group: root
      user::rwx
      group::r-x
      other::r-x
      default:user::rwx
      default:group::r-x
      default:group:23501:rwx
      default:mask::rwx
      default:other::r-x
      [root@hsm client]# setfacl -R -d -m group:user1:rwx /mnt/client/hadoop3
      setfacl: /mnt/client/hadoop3: Operation not permitted

      Attachments

        1. aclserver.log
          3.13 MB
        2. aclclient.log
          3.59 MB

        Issue Links

          Activity

            [LU-9929] Use "setfacl" to set "default" setting fail when nodemap enabled
            mdiep Minh Diep made changes -
            Labels Original: LTS

            John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29369/
            Subject: LU-9929 nodemap: add default ACL unmapping handling
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: 2ee62fbbf14e055d0134eb0859999be394909f8f

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29369/ Subject: LU-9929 nodemap: add default ACL unmapping handling Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 2ee62fbbf14e055d0134eb0859999be394909f8f
            mdiep Minh Diep made changes -
            Fix Version/s New: Lustre 2.11.0 [ 13091 ]
            Fix Version/s New: Lustre 2.10.2 [ 13494 ]

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/29369
            Subject: LU-9929 nodemap: add default ACL unmapping handling
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 6b798de0455d056d77ac5570187d3f550be52210

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/29369 Subject: LU-9929 nodemap: add default ACL unmapping handling Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 6b798de0455d056d77ac5570187d3f550be52210
            mdiep Minh Diep made changes -
            Link New: This issue is related to JFC-20 [ JFC-20 ]
            mdiep Minh Diep made changes -
            Link Original: This issue is related to JFC-19 [ JFC-19 ]
            mdiep Minh Diep made changes -
            Link Original: This issue is related to JFC-10 [ JFC-10 ]
            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.11

            pjones Peter Jones added a comment - Landed for 2.11

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29010/
            Subject: LU-9929 nodemap: add default ACL unmapping handling
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 62fee20556a4c90361bd28edb903dc77c9540133

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29010/ Subject: LU-9929 nodemap: add default ACL unmapping handling Project: fs/lustre-release Branch: master Current Patch Set: Commit: 62fee20556a4c90361bd28edb903dc77c9540133

            People

              emoly.liu Emoly Liu
              sebg-crd-pm sebg-crd-pm (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: