Description of problem: While adding a gluster volume as storage domain, add a pre-check that the o-direct options are enabled on the gluster volume. The following options need to be enabled on the gluster volume performance.strict-o-direct on :Ensure that write-behind honours O_DIRECT flags.When this option is enabled and a file descriptor is opened using the O_DIRECT flag, write-back caching is disabled for writes that affect that file descriptor. * network.remote-dio off :filters _ O_DIRECT flags in open/create calls before sending those requests to server. Set to off to ensure all o-direct I/O is passed to brick Version-Release number of selected component (if applicable): How reproducible: NA
Tested with RHV Manager 4.4.1.2-0.10.el8ev When performance.strict-o-direct option is not enabled on the gluster volume, then the attempt to use that volume for gluster storage domain in RHV Manager fails, with the proper error that o-direct option is not enabled for storage domain
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 (RHHI for Virtualization 1.8 bug fix and enhancement update), 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://access.redhat.com/errata/RHEA-2020:3314