summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorSheetal Pamecha <sheetal.pamecha08@gmail.com>2018-11-19 10:26:54 +0530
committerAmar Tumballi <amarts@redhat.com>2018-11-20 03:12:27 +0000
commit4e0fab473a4ef8792e332efc83456bf63b540435 (patch)
treeb67a0334757b4947721f6dde93430c18a6667607 /xlators
parent5231d3d165135f7aae8716069c67788555332136 (diff)
core: Retrieving the value of "client.ssl" option, before SSL is set up, fails
Added a default value "off" for (client|server).ssl fixes: bz#1651059 Change-Id: I3d9c80093ac471d9d770fbd6c67f945491cf726e Signed-off-by: Sheetal Pamecha <sheetal.pamecha08@gmail.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 95ed59e7a62..ed6263e55f1 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1424,6 +1424,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{.key = "client.ssl",
.voltype = "protocol/client",
.option = "transport.socket.ssl-enabled",
+ .value = "off",
.op_version = 2,
.description = "enable/disable client.ssl flag in the "
"volume.",
@@ -1521,6 +1522,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
.op_version = 3},
{.key = "server.ssl",
.voltype = "protocol/server",
+ .value = "off",
.option = "transport.socket.ssl-enabled",
.description = "enable/disable server.ssl flag in the "
"volume.",