Bug 763555 - (GLUSTER-1823) add-brick fails first time but works in next attempt
add-brick fails first time but works in next attempt
Status: CLOSED CURRENTRELEASE
Product: GlusterFS
Classification: Community
Component: cli (Show other bugs)
3.1-alpha
All Linux
low Severity medium
: ---
: ---
Assigned To: Pranith Kumar K
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-06 03:07 EDT by Lakshmipathi G
Modified: 2010-10-06 04:47 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: RTP
Mount Type: All
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vijay Bellur 2010-10-06 00:49:53 EDT
PATCH: http://patches.gluster.com/patch/5310 in master (mgmt/glusterd: set the return value in case of failure)
Comment 1 Lakshmipathi G 2010-10-06 03:07:08 EDT
#gluster volume add-brick test 10.192.134.144:/mnt/qa41
Add Brick unsuccessful

10.192.141.187#gluster volume add-brick test 10.192.134.144:/mnt/qa41
Add Brick successful
10.192.141.187#gluster peer probe 10.214.231.112
Probe successful
10.192.141.187#gluster volume add-brick test 10.214.231.112:/mnt/qa41
Add Brick unsuccessful

10.192.141.187#gluster volume add-brick test 10.214.231.112:/mnt/qa41
Add Brick successful


=====================
glusterd --debug
---
[2010-10-06 02:55:55.959254] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.192.134.144 found.. state: 3
[2010-10-06 02:55:55.959282] D [glusterd-utils.c:2208:glusterd_hostname_to_uuid] : returning 0
[2010-10-06 02:55:55.959308] D [glusterd-utils.c:611:glusterd_resolve_brick] : Returning 0
[2010-10-06 02:55:55.959335] D [glusterd-utils.c:695:glusterd_volume_brickinfo_get] : Returning 0
[2010-10-06 02:55:55.959362] D [glusterd-utils.c:742:glusterd_volume_brickinfo_get_by_brick] : Returning 0
[2010-10-06 02:55:55.959388] E [glusterd-op-sm.c:718:glusterd_op_stage_add_brick] : Adding duplicate brick: 10.214.231.112:/mnt/qa41
[2010-10-06 02:55:55.959418] D [glusterd-op-sm.c:771:glusterd_op_stage_add_brick] : Returning -1
[2010-10-06 02:55:55.959445] D [glusterd-op-sm.c:4635:glusterd_op_stage_validate] : Returning -1
[2010-10-06 02:55:55.959472] E [glusterd-op-sm.c:4500:glusterd_op_ac_stage_op] : Validate failed: -1

Note You need to log in before you can comment on or make changes to this bug.