Bug 1320019

Summary: [HC] gluster volume heal <vol_name> info displays files in split brain which does not exist in the system
Product: Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: replicateAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED WORKSFORME QA Contact: storage-qa-internal <storage-qa-internal>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.1CC: bugs, knarra, ravishankar, rhinduja, rhs-bugs, sabose, sasundar, storage-qa-internal
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: Environment:
RHEV-RHGS HCI
Last Closed: 2016-04-18 07:01:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1258386    

Description RamaKasturi 2016-03-22 06:59:06 UTC
Description of problem:
gluster volume heal <volinfo> displays gfid entries which are not present in the system.

[root@rhsqa1 ~]# gluster vol heal engine info
Brick rhsqa1.lab.eng.blr.redhat.com:/rhgs/engine/engine-brick1
<gfid:31c260a8-f414-45be-98f5-73e06b20c8bf> - Is in split-brain

<gfid:327584bb-434c-45f4-802a-1ca6c6b9580a> - Is in split-brain

<gfid:0e898fc7-9f75-4d87-8f50-3e5cf714a4a4> - Is in split-brain

<gfid:b6f5a2e0-544b-4a70-b2da-407313ca4ce2> - Is in split-brain

Number of entries: 4

Brick rhsqa3.lab.eng.blr.redhat.com:/rhgs/engine/engine-brick2
<gfid:31c260a8-f414-45be-98f5-73e06b20c8bf> - Is in split-brain

<gfid:327584bb-434c-45f4-802a-1ca6c6b9580a> - Is in split-brain

<gfid:0e898fc7-9f75-4d87-8f50-3e5cf714a4a4> - Is in split-brain

<gfid:b6f5a2e0-544b-4a70-b2da-407313ca4ce2> - Is in split-brain

Number of entries: 4

Brick rhsqa6.lab.eng.blr.redhat.com:/rhgs/engine/engine-brick3
<gfid:31c260a8-f414-45be-98f5-73e06b20c8bf> - Is in split-brain

<gfid:327584bb-434c-45f4-802a-1ca6c6b9580a> - Is in split-brain

<gfid:0e898fc7-9f75-4d87-8f50-3e5cf714a4a4> - Is in split-brain

<gfid:b6f5a2e0-544b-4a70-b2da-407313ca4ce2> - Is in split-brain

Number of entries: 4


Version-Release number of selected component (if applicable):
glusterfs-3.7.5-18.36.git0b0925d.el7rhgs.x86_64

How reproducible:


Steps to Reproduce:
1. Have HC setup installed.
2. Now bring down glusterd in the first node in the cluster.
3. Bring the glusterd back up.
4. Run 'gluster vol heal <vol_name> info'

Actual results:
Heal info displays gfids of the files in split brain which are not present in the system.

Expected results:
Heal info should not report gfid of files which are nor present in the system.

Additional info:

Comment 2 RamaKasturi 2016-03-22 09:17:41 UTC
sos reports can be found in the link below:

http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/HC/1319631/

Comment 4 Sahina Bose 2016-04-11 07:01:06 UTC
Kasturi, can you check if you can reproduce consistently?

Comment 5 RamaKasturi 2016-04-14 09:33:06 UTC
I tried to reproduce this but was not able to hit this again.we can close this for now and i will reopen if i hit this issue again.

Comment 6 Sahina Bose 2016-04-18 07:01:20 UTC
Closing as per comment 5