Bug 1772612

Summary: heketi should call the wrapper LVM scripts instead of the lvm binaries in the gluster container
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Raghavendra Talur <rtalur>
Component: heketiAssignee: Niels de Vos <ndevos>
Status: CLOSED ERRATA QA Contact: Aditya Ramteke <aramteke>
Severity: high Docs Contact:
Priority: high    
Version: ocs-3.11CC: aramteke, asakthiv, hchiramm, jmulligan, madam, ndevos, pprakash, puebele, rhs-bugs, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: OCS 3.11.z Batch Update 5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhgs-volmanager-container-3.11.5-1 Doc Type: Enhancement
Doc Text:
With this update, a new environment variable HEKETI_LVM_WRAPPER has been added. This environment variable enables Heketi to call a wrapper script inside the RHGS-Server containers to execute LVM commands. This improves stability of LVM initialization and handling of any LVM events during runtime. Race conditions between the LVM stack on the host and inside the container do not occur. Now, the LVM commands are executed through a wrapper script that runs LVM commands on the host instead of inside the container.
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:
Bug Depends On: 1772611, 1791667    
Bug Blocks: 1655930, 1748445    

Description Raghavendra Talur 2019-11-14 18:37:54 UTC
Description of problem:
For better synchronization of LVM metadata between the gluster container and the container host, we should execute the commands in the namespace of the host. Wrapper scripts should be available in the container to perform these executions in a different namespace and heketi should call them instead.

Comment 25 Amrita 2020-02-26 05:57:24 UTC
doc text has been modifed

Comment 26 Amrita 2020-02-26 12:44:41 UTC
Modified doc text to remove the dot and first sentence

Comment 28 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