Created attachment 1196869 [details] warning msg Adding a "Gluster Storage Volume" as a "Storage Domain" fails. Vdsm doesn't have appropriate rights to access gluster volume storage. ovirt-engine-4.0.4-0.1.el7ev.noarch It also fails for newly created gluster volumes at a "Gluster cluster". See attached screenshot. It is necessary to fix rights on a gluster volume. (chown 36:36 /path/to/gluster/volume) https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/administration-guide/#sect-Using_Red_Hat_Gluster_Storage_as_a_Storage_Domain does not provide any info about this case.
Sahina, do you know what permissions do we need to have (not in RHHI use case) ?
(In reply to Yaniv Kaul from comment #3) > Sahina, do you know what permissions do we need to have (not in RHHI use > case) ? There's an option "Optimize for virt store" in the Gluster Volume management tab, that sets the necessary options for gluster volume to be used as storage domain. The options related to permissions are storage.owner-uid=36 ,storage.owner-gid=36 The document does mention this in Step 10. "Select the Optimize for Virt Store option to set the parameters to optimize your volume for virtual machine storage. Select this if you intend to use this volume as a storage domain."
Changing scope of bug at Yaniv's request. Admin guide should contain section about adding Gluster storage, link to new RHV Gluster storage guide, with instructions for adding Gluster to RHV
Bug 1372612 asks for a link from the Cluster Tasks section to the Gluster documentation as well, to advise users before they start that parts of the regular cluster functionality might not apply to Gluster clusters. I am going to close that BZ as a duplicate, and I suggest using this BZ to review the Admin Guide for any additional places where linking to the Gluster content makes sense.
*** Bug 1372612 has been marked as a duplicate of this bug. ***
Accepting into 4.2.4 program and assigning to Tahlia for review.
Verified and merged.
Now published at https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/administration_guide/adding_red_hat_gluster_storage and https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/administration_guide/sect-cluster_tasks and other miscellaneous places.