Bug 1823388

Summary: Ensure that meaningful messages are logged, when gluster volumes doesn not have o-direct enabled
Product: [oVirt] ovirt-engine Reporter: SATHEESARAN <sasundar>
Component: Frontend.WebAdminAssignee: Ritesh Chikatwar <rchikatw>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.0CC: bugs, godas, rchikatw, rhs-bugs
Target Milestone: ovirt-4.4.0Flags: sasundar: ovirt-4.4?
sasundar: planning_ack?
godas: devel_ack+
pm-rhel: testing_ack+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.0_beta4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1823386 Environment:
Last Closed: 2020-08-05 06:09:56 UTC Type: ---
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: 1823386    

Description SATHEESARAN 2020-04-13 14:36:26 UTC
Description
-------------
When gluster volume does not have o-direct enabled, creating the glusterfs
storage domain fails for error message - 
ACTION_TYPE_FAILED_STORAGE_DOMAIN_PERFORMANCE_O_DIRECT_DISABLE
This message can be more meaningful for users to understand

Version
-------
RHHI-V 1.8
RHVH 4.4
vdsm-4.40.13-1.el8ev.x86_64
glusterfs-6.0-32.el8rhgs.x86_64

How reproducible
-----------------
Always

Steps to reproduce
-------------------
1. Create the gluster replica 3 volume
2. Optimize the gluster volume for virt store usecase
3. Do not enabe performance.strict-o-direct on the volume
4. Create a glusterfs storage domain from RHV manager UI

Actual results
---------------
Creation of storage domain fails with not so meaning message

Expected results
-----------------
Glusterfs storage domain should fail with more meaningful error message

--- Additional comment from RHEL Program Management on 2020-04-13 14:31:47 UTC ---

This bug is automatically being proposed for RHHI-V 1.8 release at Red Hat Hyperconverged Infrastructure for Virtualization product, by setting the release flag 'rhiv‑1.8' to '?'.

If this bug should be proposed for a different release, please manually change the proposed release flag.

--- Additional comment from SATHEESARAN on 2020-04-13 14:34:15 UTC ---

Adding Internal_whiteboard value as rhv-4.4.0 and target_release as RHHI-V 1.8

Comment 1 SATHEESARAN 2020-06-17 02:58:31 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:09:56 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.