Bug 1599628

Summary: To find a compatible brick ignore diagnostics.brick-log-level option while brick mux is enabled
Product: [Community] GlusterFS Reporter: Mohit Agrawal <moagrawa>
Component: glusterdAssignee: Mohit Agrawal <moagrawa>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-5.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-23 15:13:48 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 Mohit Agrawal 2018-07-10 08:46:12 UTC
Description of problem:
To find a compatible brick ignore diagnostics.brick-log-level option while
brick mux is enabled.
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.setup 2 volumes and enable brick mux
2.Enable diagnostics.brick-log-level DEBUG for anyone volume
3. Start both volumes

Actual results:
Both volumes are getting separate brick process because glusted compares
brick option at the time of attaching a brick with already running brick.If
it founds any difference then it starts a brick as a separate process.

Expected results:
Both volumes should get same pid because there is no impact on functionality
after enabling DEBUG for log-level for any volume.

Additional info:

Comment 1 Worker Ant 2018-07-10 08:55:46 UTC
REVIEW: https://review.gluster.org/20487 (glusterd: To find a compatible brick ignore brick-log option) posted (#1) for review on master by MOHIT AGRAWAL

Comment 2 Worker Ant 2018-07-13 10:22:40 UTC
COMMIT: https://review.gluster.org/20487 committed in master by "Atin Mukherjee" <amukherj> with a commit message- glusterd: To find a compatible brick ignore diagnostics.brick-log-level option

Problem: glusterd start a volume as a separate process instead of
         attaching with the already running process if volume option has
         different brick-log-level. There is no functionality impact on a brick
         if the option has different brick-log-level so glusterd
         should attach a brick with the already running process.

Solution: Ignore brick-log-level option in unsafe_option

BUG: 1599628
Change-Id: I72638ff2026fcd9332bc38e1144b1ef4a708820b
fixes: bz#1599628
Signed-off-by: Mohit Agrawal <moagrawal>

Comment 3 Shyamsundar 2018-10-23 15:13:48 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-5.0, please open a new bug report.

glusterfs-5.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://lists.gluster.org/pipermail/announce/2018-October/000115.html
[2] https://www.gluster.org/pipermail/gluster-users/