Details
-
Bug
-
Resolution: Fixed
-
Minor
-
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
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31950/
Subject:
LU-8913nodemap: fix nodemap range format '*@<net>' supportProject: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: 9721fa40d09b0686a568c8a3ad78bf6502f5acb2