Whamcloud - gitweb
LU-3289 gss: Change the handling of keys for SK 26/22626/3
authorJeremy Filizetti <jeremy.filizetti@gmail.com>
Tue, 6 Sep 2016 01:49:33 +0000 (21:49 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 8 Oct 2016 16:39:51 +0000 (16:39 +0000)
commit7b596ad0b36ec5f0281be368b67b7e624457de18
tree9c0fe3752b18be2284bf6388db85504dfc6f0da7
parentab63ebe4ca327c1230faad236958a7938a1f4c40
LU-3289 gss: Change the handling of keys for SK

Servers were automatically loading keys of the client type to allow
server to server communication to work by only including a path
to the --skpath option of mount.lustre.  However, this has multiple
issues due to ordering with multiple keys and can be unpredictable.
Instead keys that will be used for server to server communication
must be loaded manually or by a pre-mount script using lgss_sk
and specifiying the client type.

In addition client's should only load a single key with --skpath so
a check is added to not allow directories on the client.

Signed-off-by: Jeremy Filizetti <jeremy.filizetti@gmail.com>
Change-Id: I239753fa1a2bff19bed598e6d2a073e8567d1002
Reviewed-on: http://review.whamcloud.com/22626
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/mount_utils.c