Bug 1756861

Summary: Automatically tune heketidbstorage for safer workloads (on container start)
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: heketiAssignee: John Mulligan <jmulligan>
Status: CLOSED ERRATA QA Contact: Arun Kumar <arukumar>
Severity: urgent Docs Contact:
Priority: urgent    
Version: ocs-3.11CC: arukumar, asakthiv, asriram, hchiramm, jmulligan, madam, puebele, rhs-bugs, rtalur, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: OCS 3.11.z Batch Update 5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhgs3/rhgs-volmanager-rhel7:3.11.5-1 Doc Type: Bug Fix
Doc Text:
Previously, new installations using Heketi had tuned the self-provisioned heketidbstorage gluster volumes for db workloads but did nothing to volumes created by older installs. Now, when a container hosting Heketi is first started and a built-in tool attempts to automatically tune the settings of an existing heketidbstorage volume.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-26 20:05:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RamaKasturi 2019-09-30 07:04:52 UTC
Description of problem:


Options to set to be derived from https://access.redhat.com/solutions/3458751 does not get applied when user / customer performs an upgrade from OCS3.11.3 to OCS3.11.4


Version-Release number of selected component (if applicable):
sh-4.2# rpm -qa | grep heketi
heketi-client-9.0.0-7.el7rhgs.x86_64
heketi-9.0.0-7.el7rhgs.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Install OCS3.11.3
2. Upgrade setup to OCS3.11.4
3.

Actual results:
Do not see the options set on heketidbstorage volume which tunes heketidbstorage for safer workloads.

sh-4.2# gluster volume get heketidbstorage performance.readdir-ahead
Option                                  Value                                   
------                                  -----                                   
performance.readdir-ahead               off                                     
sh-4.2# gluster volume get heketidbstorage user.heketi.dbstoragelevel
volume get option: failed
sh-4.2# gluster volume get heketidbstorage performance.io-cache      
Option                                  Value                                   
------                                  -----                                   
performance.io-cache                    on                                      
sh-4.2# gluster volume get heketidbstorage performance.write-behind
Option                                  Value                                   
------                                  -----                                   
performance.write-behind                on                                      
sh-4.2# gluster volume get heketidbstorage performance.open-behind
Option                                  Value                                   
------                                  -----                                   
performance.open-behind                 on                                      
sh-4.2# gluster volume get heketidbstorage performance.quick-read
Option                                  Value                                   
------                                  -----                                   
performance.quick-read                  on                                      
sh-4.2# gluster volume get heketidbstorage performance.strict-o-direct
Option                                  Value                                   
------                                  -----                                   
performance.strict-o-direct             off                                     
sh-4.2# gluster volume get heketidbstorage performance.read-ahead
Option                                  Value                                   
------                                  -----                                   
performance.read-ahead                  on                                      
sh-4.2# gluster volume get heketidbstorage performance.io-cache
Option                                  Value                                   
------                                  -----                                   
performance.io-cache                    on                                      
sh-4.2# gluster volume get heketidbstorage performance.readdir-ahead
Option                                  Value                                   
------                                  -----                                   
performance.readdir-ahead               off                                     
sh-4.2# gluster volume get heketidbstorage user.heketi.dbstoragelevel
volume get option: failed

Expected results:
Options which tunes heketidbstorage for safer workloads should be present after an upgrade as well to avoid any data corruptions.

Additional info:

Comment 4 Raghavendra Talur 2019-12-10 22:00:50 UTC
Post https://github.com/heketi/heketi/pull/1680

Comment 10 Amrita 2020-02-26 05:52:05 UTC
Doc text has been modified.

Comment 12 errata-xmlrpc 2020-02-26 20:05:00 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, 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-2020:0621