Bug 1231687

Summary: Bitrot: gluster volume stop <volnaerd-proc-mgmt.c:83:glusterd_proc_stop] 0-management: bitd already stopped"me> show logs "[glust
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Anil Shah <ashah>
Component: bitrotAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED WORKSFORME QA Contact: RajeshReddy <rmekala>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: atumball, khiremat, rhs-bugs, sankarshan, smohan
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1231688 (view as bug list) Environment:
Last Closed: 2018-03-13 09:55:12 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:    
Bug Blocks: 1223636, 1231688    

Description Anil Shah 2015-06-15 08:50:50 UTC
Description of problem:

When you try to stop volume, glusterd show below message even though bitrot and scrub is not enabled on volume
================================

[2015-06-15 08:43:02.041821] I [MSGID: 106132] [glusterd-proc-mgmt.c:83:glusterd_proc_stop] 0-management: bitd already stopped
[2015-06-15 08:43:02.041949] I [MSGID: 106132] [glusterd-proc-mgmt.c:83:glusterd_proc_stop] 0-management: scrub already stopped



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

[root@darkknightrises ~]# rpm -qa | grep glusterfs
glusterfs-client-xlators-3.7.1-2.el6rhs.x86_64
glusterfs-server-3.7.1-2.el6rhs.x86_64
glusterfs-3.7.1-2.el6rhs.x86_64
glusterfs-api-3.7.1-2.el6rhs.x86_64
glusterfs-cli-3.7.1-2.el6rhs.x86_64
glusterfs-geo-replication-3.7.1-2.el6rhs.x86_64
glusterfs-libs-3.7.1-2.el6rhs.x86_64
glusterfs-fuse-3.7.1-2.el6rhs.x86_64
glusterfs-debuginfo-3.7.1-2.el6rhs.x86_64


How reproducible:

100%

Steps to Reproduce:
1.  Create 2*2 distribute replicate volume
2.  Start the volume
3.  Stop the volume 

Actual results:

var/log/glusterfs/etc-glusterfs-glusterd.vol.log
========================================================

2015-06-15 08:43:02.041821] I [MSGID: 106132] [glusterd-proc-mgmt.c:83:glusterd_proc_stop] 0-management: bitd already stopped
[2015-06-15 08:43:02.041949] I [MSGID: 106132] [glusterd-proc-mgmt.c:83:glusterd_proc_stop] 0-management: scrub already stopped



Expected results:

Log message should not appear in logs

Additional info:

[root@darkknightrises ~]# gluster v info vol
 
Volume Name: vol
Type: Distributed-Replicate
Volume ID: 9abdd9b9-53b6-492a-afc8-fb96975a1b8f
Status: Stopped
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.33.214:/rhs/brick1/b01
Brick2: 10.70.33.219:/rhs/brick1/b02
Brick3: 10.70.33.225:/rhs/brick1/b03
Brick4: 10.70.44.13:/rhs/brick1/b04
Options Reconfigured:
performance.readdir-ahead: on
cluster.enable-shared-storage: disable
snap-max-hard-limit: 200
auto-delete: enable
snap-max-soft-limit: 70

Comment 2 Gaurav Kumar Garg 2015-06-15 09:00:43 UTC
upstream patch http://review.gluster.org/#/c/11226/ already available for this bug.

Comment 6 Amar Tumballi 2018-03-13 09:55:12 UTC
The bug is not happening on the latest RHGS 3.3.x releases.