From eb4b2cb003a1e99edbb0c061502b5be73bfb5bf2 Mon Sep 17 00:00:00 2001 From: Môshe van der Sterre Date: Mon, 28 Sep 2020 06:12:32 +0200 Subject: gfapi: Move the SECURE_ACCESS_FILE check out of glfs_mgmt_init glfs_mgmt_init is only called for glfs_set_volfile_server, but secure_mgmt is also required to use glfs_set_volfile with SSL. fixes: #829 Change-Id: Ibc769fe634d805e085232f85ce6e1c48bf4acc66 --- tests/basic/gfapi/protocol-client-ssl.vol.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/basic/gfapi/protocol-client-ssl.vol.in (limited to 'tests/basic/gfapi/protocol-client-ssl.vol.in') diff --git a/tests/basic/gfapi/protocol-client-ssl.vol.in b/tests/basic/gfapi/protocol-client-ssl.vol.in new file mode 100644 index 0000000000..cdc0c9d067 --- /dev/null +++ b/tests/basic/gfapi/protocol-client-ssl.vol.in @@ -0,0 +1,15 @@ +# +# This .vol file expects that there is +# +# 1. GlusterD listening on @@HOSTNAME@@ +# 2. a volume that provides a brick on @@BRICKPATH@@ +# 3. the volume with the brick has been started +# +volume test + type protocol/client + option remote-host @@HOSTNAME@@ + option remote-subvolume @@BRICKPATH@@ + option transport-type socket + option transport.socket.ssl-enabled @@SSL@@ +end-volume + -- cgit