Whamcloud - gitweb
LU-8340 tests: in sanity-sec 25 client nodemap must be admin 50/22750/3
authorKit Westneat <kit.westneat@gmail.com>
Tue, 27 Sep 2016 02:30:02 +0000 (22:30 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 5 Oct 2016 03:51:14 +0000 (03:51 +0000)
commit1a92e40bd05c05820c902ce4ee738212a308d9e2
tree0d8fb7c31e48b33d6b5a9d10abff8d0d15938546
parentefcef00cb3043b5f8661174fd80626b3dc0edc50
LU-8340 tests: in sanity-sec 25 client nodemap must be admin

If the ENABLE_QUOTA is set, then cleanup_and_setup_lustre will use
the client node to setup quota, which requires admin privileges on
the nodemap. This patch enables admin privileges on all clients
before calling cleanup_and_setup_lustre.

Test-Parameters: envdefinitions=ENABLE_QUOTA=yes
Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: If8d92d20aaa8cf75e3d443d1a81ff2f201d118cc
Reviewed-on: http://review.whamcloud.com/22750
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-sec.sh