Bug 1939918

Summary: [RHEL 7] Disable lookup-optimize in gluster-ansible task that optimizes the volume for virt-store use case
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: gluster-ansibleAssignee: Gobinda Das <godas>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: urgent Docs Contact:
Priority: high    
Version: rhgs-3.5CC: asriram, bkunal, godas, jahernan, nravinas, pprakash, rcyriac, rhs-bugs, sabose, sasundar
Target Milestone: ---   
Target Release: RHGS 3.5.z Async Update   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, using the lookup-optimize option caused VM corruption on Red Hat Hyperconverged Infrastructure environments due to sharding and after shrinking or expanding the volume duirng a rebalance operation. With this update, the look-optimize option is disabled by default to avoid the corruption of Red Hat Hyperconverged environments.
Story Points: ---
Clone Of: 1939894 Environment:
Last Closed: 2021-03-30 09:32:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1938110, 1940841    

Description SATHEESARAN 2021-03-17 10:05:21 UTC
Description of problem:
------------------------
RCA for the bug https://bugzilla.redhat.com/show_bug.cgi?id=1938110 turned out to be because of the option - 'lookup-optimize' enabled on the volume. 

There is a separate bug (https://bugzilla.redhat.com/show_bug.cgi?id=1939372) that disables the option in virt profile

But RHVH 4.4.5 will be available to customer well before RHGS 3.5.4, and considering the severity of the issue, it was planned to disable this option in the gluster-ansible task that optimized the volume for virt-store use case


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHHI 1.7

Expected results:
------------------
Disable lookup-optimize option as part of gluster-ansible task

Comment 1 Gobinda Das 2021-03-17 14:36:23 UTC
Upstream patch: https://github.com/gluster/gluster-ansible-features/pull/47

Comment 6 SATHEESARAN 2021-03-29 10:48:39 UTC
Tested with gluster-ansible-features-1.0.5-6.el7rhgs.
Deployment flow of RHHI-V, now disables cluster.lookup-optimize.

Comment 8 errata-xmlrpc 2021-03-30 09:32:30 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 (gluster-ansible bug fix 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/RHBA-2021:1034