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

All mds Nodemap filset will be cleared when do some nodemap operations (lustre 2.10.3)

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.12.0, Lustre 2.10.4
    • None
    • None
    • Lustre 2.10.3, one MGS node, one MDS node, OSS node
    • 3
    • 9223372036854775807

    Description

      All nodemaps on MDS fileset will be cleared when do these operations. (nodemap_add/nodemap_del, nodemap_activate, nodemap_add_range/nodemap_del_range ,nodemap_add_idmap/nodemap_del_idmap)

      But the  admin_nodemap will not be cleared in the same case.

       

      Test steps,

      Step1. ON MGS NODE:
      lctl nodemap_add user1
      lctl set_param -P nodemap.user1.admin_nodemap=1

      sleep 10

      lctl set_param -P nodemap.user1.fileset=/user1

       

      Step2. ON MDS NODE:
      lctl get_param nodemap.user1.*
      ...
      nodemap.user1.admin_nodemap=1
      nodemap.user1.fileset=/user1
      ..

       

      Step3.ON MGS NODE:
      lctl nodemap_add user2

      //check user1 nodemap is normal in MGS
      lctl get_param nodemap.user1.*
      ...
      nodemap.user1.admin_nodemap=1
      nodemap.user1.fileset=/user1
      ...

      Step4.ON MDS NODE:
      lctl get_param nodemap.user1.*
      ...
      nodemap.user1.admin_nodemap=1
      nodemap.user1.fileset=           //fileset missing
      ...

      Attachments

        Issue Links

          Activity

            [LU-10703] All mds Nodemap filset will be cleared when do some nodemap operations (lustre 2.10.3)

            John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31954/
            Subject: LU-10703 nodemap: save and clear fileset correctly
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: f822a1d6d1ff4abd4946675398fa20ec658ddc64

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31954/ Subject: LU-10703 nodemap: save and clear fileset correctly Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: f822a1d6d1ff4abd4946675398fa20ec658ddc64

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31954
            Subject: LU-10703 nodemap: save and clear fileset correctly
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 1f88c1c4b3f7dc074da252043b66e75cd95c0fec

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31954 Subject: LU-10703 nodemap: save and clear fileset correctly Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 1f88c1c4b3f7dc074da252043b66e75cd95c0fec
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31450/
            Subject: LU-10703 nodemap: save and clear fileset correctly
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 5b64d9fb0d5c5f292548c23e7841cc30f7a8423e

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31450/ Subject: LU-10703 nodemap: save and clear fileset correctly Project: fs/lustre-release Branch: master Current Patch Set: Commit: 5b64d9fb0d5c5f292548c23e7841cc30f7a8423e

            Emoly Liu (emoly.liu@intel.com) uploaded a new patch: https://review.whamcloud.com/31450
            Subject: LU-10703 nodemap: save fileset when modifying the new config
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 55c35753473df4467cb969d1b1f318059d9ecf2c

            gerrit Gerrit Updater added a comment - Emoly Liu (emoly.liu@intel.com) uploaded a new patch: https://review.whamcloud.com/31450 Subject: LU-10703 nodemap: save fileset when modifying the new config Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 55c35753473df4467cb969d1b1f318059d9ecf2c
            emoly.liu Emoly Liu added a comment -

            I can reproduce this issue and will see how to fix it.

            emoly.liu Emoly Liu added a comment - I can reproduce this issue and will see how to fix it.
            emoly.liu Emoly Liu added a comment -

            sebg-crd-pm, I am just back to work from my vacation. I will look into this issue.

            emoly.liu Emoly Liu added a comment - sebg-crd-pm , I am just back to work from my vacation. I will look into this issue.

            Hi Emoly,

            I can reporduce it every time.

            You can remote login to my test environment by team viewer in my work hours if you can not reproduce it. 

            Thanks.

             

            sebg-crd-pm sebg-crd-pm (Inactive) added a comment - Hi Emoly, I can reporduce it every time. You can remote login to my test environment by team viewer in my work hours if you can not reproduce it.  Thanks.  
            pjones Peter Jones added a comment -

            Emoly

            Could you please advise on this one?

            Thanks

            Peter

            pjones Peter Jones added a comment - Emoly Could you please advise on this one? Thanks Peter

            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: