Skip sanity-sec test_27aa for old MDS without nodemap ID range.
Test-Parameters: trivial testlist=sanity-sec env=ONLY=27aa mdsversion=2.15
Fixes:
8445f7b92f ("LU-17922 utils: added idmap range functionality")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I6c5383f146257830f4558c0472415deba7f5f988
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56551
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Maximilian Dilger <mdilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
local idmap
local id=500
+ (( $MDS1_VERSION >= $(version_code v2_15_64-86-g8445f7b92f) )) ||
+ skip "need MDS >= 2.15.64.86 for nodemap range"
+
do_facet mgs $LCTL nodemap_add Test17922 ||
error "unable to add Test17922 as nodemap"
stack_trap "do_facet mgs $LCTL nodemap_del Test17922 || true"