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

nodemap: wildcard '*@<net>' is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0, Lustre 2.10.4
    • Lustre 2.9.0
    • None
    • CentOS 7.2, Lustre-2.8.60
    • 3
    • 9223372036854775807

    Description

      Hi, this is a minor bug report for nodemap. The nodemap documentation indicates that wildchar is allowed:

      <nidrange>      :== <addrrange> '@' <net>
      <addrrange>     :== '*' |
                              <ipaddr_range> |
                              <numaddr_range>
      
      
      
      
      

      but it doesn't seem to work as expected, as it just adds a single IP 0.0.0.0:

      $ cat /proc/fs/lustre/nodemap/sherlock/ranges
      [
      
      ]
      $ lctl nodemap_add_range --name sherlock --range '*@o2ib3'
      $ cat /proc/fs/lustre/nodemap/sherlock/ranges
      [
       { id: 18, start_nid: 0.0.0.0@o2ib3, end_nid: 0.0.0.0@o2ib3 }
      ]
      
      
      
      
      

      As a workaround, we can use [0-255].[0-255].[0-255].[0-255]@o2ib3, in that case the full range of IP is added:

      [
       { id: 19, start_nid: 0.0.0.0@o2ib3, end_nid: 255.255.255.255@o2ib3 }
      ]
      
      
      

      Note: Four wildchars separated by dots also work but I don't believe it should according to the documentation.

      Thanks,
      Stephan

      Attachments

        Activity

          People

            emoly.liu Emoly Liu
            sthiell Stephane Thiell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: