Bug 763687 (GLUSTER-1955)

Summary: Redundant log messages when "peer detach" fails
Product: [Community] GlusterFS Reporter: Vikas Gorur <vikas>
Component: cliAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.1.0CC: anush, gluster-bugs, nsathyan, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vikas Gorur 2010-10-14 20:59:58 UTC
[root@vikas_test02 etc]# gluster peer detach 10.1.10.141
Brick(s) with the peer 10.1.10.141 exist in cluster
Detach unsuccessful
Detach failed

[root@vikas_test02 etc]# gluster peer detach 10.1.10.142
10.1.10.142 is localhost
Detach unsuccessful
Detach failed

It is redundant to print "unsuccessful" and "failed". One of those messages is sufficient.

Comment 1 Anand Avati 2010-10-25 02:42:58 UTC
PATCH: http://patches.gluster.com/patch/5528 in master (Remove additional failure cli msg for peer detach)