Whamcloud - gitweb
LU-12131 tests: only create lgssc.conf file if necessary 57/35557/2
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 9 Apr 2019 12:58:20 +0000 (14:58 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 23 Sep 2019 08:43:27 +0000 (08:43 +0000)
commitb50b4b7c8f305138154c1e04e31a8edb6cba1a9b
treec62ebe2b5917db39f26dfddd91963583ff4f1efe
parent989471396fad89d774db26c6277bf01ff40ebe0e
LU-12131 tests: only create lgssc.conf file if necessary

lgssc.conf file is now packaged by Lustre, and installed under
/etc/request-key.d/.
So, unless run from build tree, init_gss() must not create its own
anymore. So adjust corresponding commands in init_gss() and
cleanup_sk().

Lustre-change: https://review.whamcloud.com/34520
Lustre-commit: 66919f2b687f8b15679e6ff4e22a3f66f7d1c13a

Fixes: e299df1e9eea ("LU-7854 gss: install lgssc.conf under /etc/request-key.d")
Whamcloud-bug-id: ATM-1283
Test-Parameters: envdefinitions=SHARED_KEY=true testlist=sanity-sec
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I9cc76fddb8a622d7c40d6348913df42ae063254a
Reviewed-on: https://review.whamcloud.com/35557
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/test-framework.sh