Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1754781

Summary: [RFE] Ensure o-direct options are enabled on volume used as storage domain
Product: [oVirt] ovirt-engine Reporter: Sahina Bose <sabose>
Component: BLL.GlusterAssignee: Ritesh Chikatwar <rchikatw>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.5CC: bugs, godas
Target Milestone: ovirt-4.4.0Keywords: FutureFeature
Target Release: ---Flags: sabose: ovirt-4.4?
pm-rhel: planning_ack?
pm-rhel: devel_ack+
pm-rhel: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine 4.4.0-26 b5b5c99ca2f Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1807400 (view as bug list) Environment:
Last Closed: 2020-08-05 06:10:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1807400    

Description Sahina Bose 2019-09-24 04:58:08 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 1 SATHEESARAN 2020-06-17 02:57:46 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 2 Sandro Bonazzola 2020-08-05 06:10:05 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.