Whamcloud - gitweb
LU-17922 tests: skip sanity-sec/27aa for old MDS 51/56551/3
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 1 Oct 2024 16:19:43 +0000 (10:19 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Oct 2024 06:21:04 +0000 (06:21 +0000)
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>
lustre/tests/sanity-sec.sh

index b7c8c6b..c56addf 100755 (executable)
@@ -2277,6 +2277,9 @@ test_27aa() { #LU-17922
        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"