Description of problem: Unable to set cluster.enable-shared-storage volume option from Console Version-Release number of selected component (if applicable): rhsc-3.1.0-0.60.el6.noarch How reproducible: Always Steps to Reproduce: 1. Add hosts and Create a volume 2. Try to add cluster.enable-shared-storage volume option, by clicking Volume Options -> Add Actual results: cluster.enable-shared-storage option is not listed in 'Option Key' drop down box. Expected results: User should able to set cluster.enable-shared-storage option from UI Additional info:
gluster command "volume set help-xml" is not returning the new option "cluster.enable-shared-storage", so this new option is not available in engine. BZ#1234708 is the bug to fix this issue in gluster.
You should be able to directly type in "cluster.enable-shared-storage" to the editable dropdown option name in the Edit options screen. Can you please try this? If so, we can close this bug.
Hi Sahina, We are not able to set this option from UI. It displays operation cancelled with the message : Error while executing action Set Gluster Volume Option: Volume set failed. error:Not a valid option for single volume. Attached the screenshot. Thanks kasturi
Created attachment 1043382 [details] Error while setting gluster shared storage option
We do not have support for setting cluster options in Engine. Deferring this from 3.1
Does it suffice to set this option implicitly from engine whenever user tries to use_meta_volume to true. The reason I am asking this question is, once the option is set it appears in the "Volume Options" sub tab from where the option value can be reset/altered. AFAIK, this option makes sense only to Snapshot and Geo-replication cases and under such a circumstance with only this option being a cluster level option (in my knowledge) the above proposal of implicit setting the option might suffice.
Yes, we will set this implicitly
Doc text is edited. Please sign off to be included in Known Issues.
Looks good to me
Created attachment 1064689 [details] cluster.enable-shared-storage: enabled
This is bug is verified and found no issues. Steps followed: Referring to Comment 7 above that cluster.enable-shared-storage options is set implicitly from engine whenever user tries to use_meta_volume to true. 1. added hosts and created geo-rep setup to verify the bug. 2. created master and slave volume, created geo-rep session between them. 3. use_meta_volume option set to true which implicitly enabled cluster.enable-shared-storage. 4. i could verify that in the volume options cluster.enable-shared-storage set properly from both UI and back end. 5. I could verify that meta volume created on backend, seen in the UI and mounted. 6. attached the screen shots. Output: From Backend: Volume Name: geo-rep-test Type: Replicate Volume ID: 3543e21d-9dc4-4671-91e6-ebeb58a0bdef Status: Started Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: 10.70.35.82:/rhgs/brick5/brick5 Brick2: 10.70.35.77:/rhgs/brick5/brick5 Options Reconfigured: changelog.changelog: on geo-replication.ignore-pid-check: on geo-replication.indexing: on auth.allow: * user.cifs: enable nfs.disable: off performance.readdir-ahead: on cluster.enable-shared-storage: enable Volume Name: gluster_shared_storage Type: Replicate Volume ID: 94117eaa-6bdc-4fab-95f9-e2082d433d77 Status: Started Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: 10.70.35.77:/var/lib/glusterd/ss_brick Brick2: dhcp35-82.lab.eng.blr.redhat.com:/var/lib/glusterd/ss_brick Options Reconfigured: performance.readdir-ahead: on cluster.enable-shared-storage: enable [root@casino-vm3 ~]# [root@casino-vm3 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_casinovm3-lv_root 18G 2.8G 14G 17% / tmpfs 3.9G 0 3.9G 0% /dev/shm /dev/vda1 477M 36M 416M 8% /boot /dev/mapper/vg--brick1-brick1 50G 33M 50G 1% /rhgs/brick1 /dev/mapper/vg--brick2-brick2 50G 33M 50G 1% /rhgs/brick2 /dev/mapper/vg--brick3-brick3 50G 33M 50G 1% /rhgs/brick3 /dev/mapper/vg--brick4-brick4 50G 33M 50G 1% /rhgs/brick4 /dev/mapper/vg--brick5-brick5 50G 33M 50G 1% /rhgs/brick5 dhcp35-82.lab.eng.blr.redhat.com:/gluster_shared_storage 18G 2.8G 14G 17% /var/run/gluster/shared_storage [root@casino-vm3 ~]#
Created attachment 1064694 [details] metavolume from UI
Created attachment 1064695 [details] events logs
Hi Anmol, The doc text is updated. Please review it and share your technical review comments. If it looks ok, then sign-off on the same.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1848.html