Hi Humble, Can you please share the steps/information that needs to be highlighted in the doc for set volume options via heketi-cli commands.
(In reply to Bhavana from comment #2) > Hi Humble, > > Can you please share the steps/information that needs to be highlighted in > the doc for set volume options via heketi-cli commands. At section "enabling encryption" on statically provisioned volumes, we need to use below command: $ heketi-cli volume create --size=100 --options="client.ssl on","server.ssl on" instead of: # oc rsh <gluster_pod_name> gluster volume set VOLNAME client.ssl on # oc rsh <gluster_pod_name> gluster volume set VOLNAME server.ssl on In short, the main difference is that, instead of logging in the pod and setting the command, admin can use heketi-cli command directly to set these options.
(In reply to Humble Chirammal from comment #3) > (In reply to Bhavana from comment #2) > > Hi Humble, > > > > Can you please share the steps/information that needs to be highlighted in > > the doc for set volume options via heketi-cli commands. > > At section "enabling encryption" on statically provisioned volumes, we need > to use below command: > > $ heketi-cli volume create --size=100 --options="client.ssl on","server.ssl > on" > Bhavana, you need to update the above as the correct command would be: # heketi-cli volume create --size=100 --gluster-volume-options="client.ssl on","server.ssl on"
Bhavana, This is the correct command # heketi-cli volume create --size=100 --gluster-volume-options="client.ssl on","server.ssl on"
I seemed to have Prasanth's comment! Following is the link with the updated command: https://access.qa.redhat.com/documentation/en-us/red_hat_gluster_storage/3.3/html-single/container-native_storage_for_openshift_container_platform/#idm139780158619920
There is little confusion here Bhavana. The heketi-cli command - #heketi-cli volume create --size=100 --gluster-volume-options="client.ssl on","server.ssl on" has to be provided for statically provisioned volumes while creating them. and at 12.2.2 where volume already exists we need to give these commands: # oc rsh <gluster_pod_name> gluster volume set VOLNAME client.ssl on # oc rsh <gluster_pod_name> gluster volume set VOLNAME server.ssl on
(In reply to Apeksha from comment #8) > There is little confusion here Bhavana. > > The heketi-cli command - > #heketi-cli volume create --size=100 --gluster-volume-options="client.ssl > on","server.ssl on" > has to be provided for statically provisioned volumes while creating them. > > and at 12.2.2 where volume already exists we need to give these commands: > # oc rsh <gluster_pod_name> gluster volume set VOLNAME client.ssl on > # oc rsh <gluster_pod_name> gluster volume set VOLNAME server.ssl on Made the required change: https://access.qa.redhat.com/documentation/en-us/red_hat_gluster_storage/3.3/html-single/container-native_storage_for_openshift_container_platform/#chap-Documentation-Red_Hat_Gluster_Storage_Container_Native_with_OpenShift_Platform-Enabling_Encryption-New_Setup