Whamcloud - gitweb
LU-17666: configure lnet before add net in sanity-sec:31 43/54543/3
authorLi Xi <lixi@ddn.com>
Fri, 22 Mar 2024 12:30:57 +0000 (20:30 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 2 Apr 2024 21:05:23 +0000 (21:05 +0000)
commite163883f76dac45a516b7d89671513d31063b7d6
tree042545107d905fc0ae2ee14c2438e6a4ae422a4f
parentcd0d57d27edc7178d10a55220a2f07b59f173415
LU-17666: configure lnet before add net in sanity-sec:31

If "options lnet config_on_load=1" is not configured in
modprobe.d, the lnet will not be configured when trying to
add a network. The command will hit problem.

/usr/sbin/lnetctl net add --if eth1 --net tcp999
add:
    - net:
          errno: -22
          descr: "cannot add network: Invalid argument"

Test-Parameters: trivial testlist=sanity-sec env=ONLY=31

Change-Id: If65b7cb372d4f04a10ea066d62f3ae43029fcf65
Signed-off-by: Li Xi <lixi@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54543
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-sec.sh