Bug 1939894

Summary: [RHEL 8] 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: bkunal, godas, jahernan, nravinas, pprakash, rcyriac, rhs-bugs, sabose, sasundar, shilpsha
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, lookup-optimize option could cause VM corruption on Red Hat Hyperconverged Infrastructure for Virtualization (RHHI-V)environment. With this update, lookup-optimize option is disabled by default post RHHI-V deployment hence there is no VM corruption.
Story Points: ---
Clone Of: 1938110
: 1939918 (view as bug list) Environment:
Last Closed: 2021-04-14 07:57:51 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, 1940845    

Description SATHEESARAN 2021-03-17 09:41:59 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.8

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

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

Comment 4 SATHEESARAN 2021-04-05 17:44:31 UTC
verified with gluster-ansible-features-1.0.5-11.el8rhgs

The volume option 'cluster.lookup-optimize' is turned off post gluster deployment

[root@ ~]# rpm -qa | grep gluster-ansible-features
gluster-ansible-features-1.0.5-11.el8rhgs.noarch

[root@ ~]# gluster volume get engine lookup-optimize
Option                                  Value                                   
------                                  -----                                   
cluster.lookup-optimize                 off

Comment 10 errata-xmlrpc 2021-04-14 07:57:51 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:1182