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

Nodemap ip range missing if delete another nodemap the same range

Details

    • 3
    • 9223372036854775807

    Description

      I create nodemap1 and add range then delete the range in anthoer nodemap2.
      Then nodemap1 ip range disappeared.

      [Test steps:]
      lctl nodemap_add nodemap1
      lctl nodemap_add nodemap2
      lctl nodemap_add_range --name nodemap1 --range 192.168.19.[0-255]@o2ib20
      lctl get_param nodemap.nodemap1.* | grep start_nid
      lctl nodemap_del_range --name nodemap2 --range 192.168.19.[0-255]@o2ib20
      lctl get_param nodemap.nodemap1.* | grep start_nid

      [Test result:]
      [root@mdsb1 ~]# lctl nodemap_add nodemap1
      [root@mdsb1 ~]# lctl nodemap_add nodemap2
      [root@mdsb1 ~]# lctl nodemap_add_range --name nodemap1 --range 192.168.19.[0-255]@o2ib20
      [root@mdsb1 ~]# lctl get_param nodemap.nodemap1.* | grep start_nid

      { id: 20, start_nid: 192.168.19.0@o2ib20, end_nid: 192.168.19.255@o2ib20 }

      [root@mdsb1 ~]# lctl nodemap_del_range --name nodemap2 --range 192.168.19.[0-255]@o2ib20
      [root@mdsb1 ~]# lctl get_param nodemap.nodemap1.* | grep start_nid
      [root@mdsb1 ~]#

      Attachments

        Activity

          [LU-9682] Nodemap ip range missing if delete another nodemap the same range
          mdiep Minh Diep made changes -
          Labels Original: LTS

          John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29138/
          Subject: LU-9682 nodemap: delete nids range from nodemap correctly
          Project: fs/lustre-release
          Branch: b2_10
          Current Patch Set:
          Commit: 783b470f800c85e9ca5c9453fdb3c13062f67e41

          gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29138/ Subject: LU-9682 nodemap: delete nids range from nodemap correctly Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 783b470f800c85e9ca5c9453fdb3c13062f67e41
          mdiep Minh Diep made changes -
          Fix Version/s New: Lustre 2.10.2 [ 13494 ]
          Fix Version/s Original: Lustre 2.10.1 [ 13090 ]
          mdiep Minh Diep made changes -
          Fix Version/s New: Lustre 2.10.1 [ 13090 ]

          Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/29138
          Subject: LU-9682 nodemap: delete nids range from nodemap correctly
          Project: fs/lustre-release
          Branch: b2_10
          Current Patch Set: 1
          Commit: 506f3a01c0fc2b601b879cde0d5a4d7d14ef75d0

          gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/29138 Subject: LU-9682 nodemap: delete nids range from nodemap correctly Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 506f3a01c0fc2b601b879cde0d5a4d7d14ef75d0
          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 ]
          mdiep Minh Diep made changes -
          Link New: This issue is related to JFC-20 [ JFC-20 ]
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.11.0 [ 13091 ]
          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

          People

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

            Dates

              Created:
              Updated:
              Resolved: