Whamcloud - gitweb
LU-12275 tests: skip new nodemap params on old MGS 28/49828/3
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 30 Jan 2023 21:46:37 +0000 (14:46 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Feb 2023 06:25:53 +0000 (06:25 +0000)
commit93230059abe9dfe39a8b72cb8fc31bab1cadc7b6
treeae866946e6a8f7c139b11b6c0d3079c821421f90
parent2f8f38effac3a95199cdcdbd4854f958cdb0c72c
LU-12275 tests: skip new nodemap params on old MGS

Skip setting forbid_encryption and readonly_mount parameters on old
MGSes that do not support these options.  Otherwise test_61 failures
are seen during interop testing.  Running test_36 would also fail in
this case, except that it is already skipped due to encryption checks.

Test-Parameters: trivial testlist=sanity-sec
Fixes: 598c48707c ("LU-12275 tests: exercise file content encryption/decryption")
Fixes: e7ce67de92 ("LU-15451 sec: read-only nodemap flag")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I94f2e2f609927fea618a3a22f103bd32ae3ebbe5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49828
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-sec.sh