"Add brick" dialog has an option "Show available bricks from host", which doesn't work. To add a brick it is necessary to deselect option "Show available bricks from host" and type a brick path manually. ovirt-engine-4.0.4-0.1.el7ev.noarch 1. Log in admin portal. 2. Have a GlusterFS cluster. 3. Have a host in a GlusterFS cluster. 4. Log in to the host and create any brick. 5. Select checkbox "Show available bricks from host" in "New Volume" -> "Add bricks" List with a available bricks on the host stays empty.
How were the bricks created on the host? Under which path was it mounted? oVirt looks under /rhgs path for brick directories to list. (The path that it looks for is a configurable option)
I created a new FS, and mounted it under : /rhgs/brick2 /dev/mapper/vg-gluster4 on /rhgs/brick2 type xfs (rw,relatime,seclabel,attr2,inode64,noquota) option "Show available bricks from host" doesn't show this brick. I always need to create a gluster volume manually to be used in RHV. Moreover, I do not have a configurable option to specify a path: # engine-config -l | grep -i gluster AllowClusterWithVirtGlusterEnabled: "Allows to create a Cluster with both Virt and Gluster services enabled" (Value Type: String) GlusterRefreshRateHooks: "Refresh rate (in seconds) of gluster hooks from gluster servers" (Value Type: Integer) GlusterRefreshRateGeoRepStatusInSecs: Refresh rate (in seconds) of the geo-replication session status and statistics (Value Type: Integer) GlusterRefreshRateGeoRepDiscoveryInSecs: Refresh rate (in seconds) for discovery of geo-replication sessions (Value Type: Integer) I think this part should be documented at: https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/administration-guide/
Ramesh, can you check?
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
Default mount point for gluster bricks is configurable using the vdc_option "GlusterDefaultBrickMountPoint". Default value for this option is '"/gluster-bricks" in upstream oVirt and /rhgs/' in RHEV-M. Make sure you have mounted the brick in correct path and same thing is shown under the 'Storage Devices' sub tab under 'Hosts'. Currently vdc_option "GlusterDefaultBrickMountPoint" is not exposed through 'engine-config' command. Let me expose this to engine_config and have it documented in the admin guide.
Can you expose this option?
Yeap. I can expose this the option "GlusterDefaultBrickMountPoint" to 'engine-config' command.
Tested with RHV 4.2.3 and gluster-3.12 vdc_option GlusterDefaultBrickMountPoint is exposed now and this makes the brick mounted under that listed # engine-config -a | grep GlusterDefaultBrickMountPoint GlusterDefaultBrickMountPoint: /rhgs version: general
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.