Whamcloud - gitweb
LU-18744 tests: fix sanity-sec test_27ab 87/58187/3
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 24 Feb 2025 12:05:54 +0000 (13:05 +0100)
committerOleg Drokin <green@whamcloud.com>
Thu, 6 Mar 2025 08:09:25 +0000 (08:09 +0000)
commitd4a8b550e350094a7b78dc4d7e3111b22743f737
tree4fa9a6ef3811cce0e42a7f999cb539b4a3014f94
parent94aa8ce7dd1ba2e05139b1a1af10667e068dbd05
LU-18744 tests: fix sanity-sec test_27ab

When nodemap is activated in sanity-sec test_27ab, we need to make
sure the default nodemap grants root access, so that clients and
servers can be stopped and restarted.
Also fix an incorrect call to 'lctl nodemap_add_idmap'.

Test-Parameters: trivial
Fixes: e3051ad0f1 ("LU-18109 utils: adding nodemap offset capability")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I0adafae67c7637c616c687590bd01ff12f4d6bf2
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58187
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-sec.sh