Bug 1807400 - Ensure o-direct options are enabled on volume used as storage domain
Summary: Ensure o-direct options are enabled on volume used as storage domain
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: RHHI-V 1.8
Assignee: Ritesh Chikatwar
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1754781
Blocks: RHHI-V-1.8-Engineering-Backlog-BZs
TreeView+ depends on / blocked
 
Reported: 2020-02-26 09:50 UTC by Gobinda Das
Modified: 2020-08-04 14:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Red Hat Hyperconverged Infrastructure for Virtualization now ensures that the "performance.strict-o-direct" option in Red Hat Gluster Storage is enabled before creating a storage domain.
Clone Of: 1754781
Environment:
Last Closed: 2020-08-04 14:51:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3314 0 None None None 2020-08-04 14:51:55 UTC
oVirt gerrit 107239 0 None MERGED bll: Added a precheck when creating storage domain 2020-07-14 11:22:13 UTC

Description Gobinda Das 2020-02-26 09:50:15 UTC
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

Comment 2 SATHEESARAN 2020-06-17 02:54:44 UTC
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

Comment 7 errata-xmlrpc 2020-08-04 14:51:33 UTC
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


Note You need to log in before you can comment on or make changes to this bug.