From 4e0fab473a4ef8792e332efc83456bf63b540435 Mon Sep 17 00:00:00 2001 From: Sheetal Pamecha Date: Mon, 19 Nov 2018 10:26:54 +0530 Subject: 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 --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/mgmt') 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.", -- cgit