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)

    XMLWordPrintable

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

            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: