Bug 852406

Summary: For non-replicate type volumes, do not print brick details for "gluster volume heal <volname> info ".
Product: [Community] GlusterFS Reporter: vsomyaju
Component: cliAssignee: vsomyaju
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: pre-releaseCC: gluster-bugs, mailbox, nsathyan, vsomyaju
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:20:57 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 vsomyaju 2012-08-28 12:09:02 UTC
Description of problem:
For non-replicate volumes, the output of volume self-heal info should not print brick details.


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


How reproducible:


Steps to Reproduce:
1.create a non-replicate volume
2.start the volume
3.type command "gluster volume heal dist info split-brain" at cli.(Here dist is an non-replicate volume) 

  
Actual results:

[root@gqas004 ~]# gluster volume heal dist info split-brain
Volume dist is not of type replicate

Brick gqas004.sbu.lab.eng.bos.redhat.com:/tmp/exp1
Number of entries: 0

Brick gqas004.sbu.lab.eng.bos.redhat.com:/tmp/exp2
Number of entries: 0


Expected results:

[root@gqas004 ~]# gluster volume heal dist info split-brain
Volume dist is not of type replicate


Additional info: