Bug 763554 (GLUSTER-1822) - replace-brick starts only when target brick directory name is different.-qa41
Summary: replace-brick starts only when target brick directory name is different.-qa41
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1822
Product: GlusterFS
Classification: Community
Component: glusterd
Version: 3.1-alpha
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Vijay Bellur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-06 05:41 UTC by Lakshmipathi G
Modified: 2010-10-08 14:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTP
Mount Type: nfs
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Lakshmipathi G 2010-10-06 05:41:53 UTC
replace brick says "already in use" , if target  bricks directory name is same as source brick directory name

=====
#gluster volume replace-brick repB 10.192.134.144:/mnt/qa41 10.214.231.112:/mnt/qa41 start
Brick: 10.214.231.112:/mnt/qa41 already in use
Replacing brick from Volume repB failed
-----
10.192.134.144#gluster volume replace-brick repB 10.192.134.144:/mnt/qa41 10.214.231.112:/mnt/QA41 start
replace-brick started successfully
----------

log file
++++++++


10.192.134.144#cat /usr/local/var/log/glusterfs/usr-local-etc-glusterfs-glusterd.vol.log 
[2010-10-06 01:36:57.769461] I [glusterd.c:274:init] management: Using /etc/glusterd as working directory
[2010-10-06 01:36:57.770536] E [rpc-transport.c:897:rpc_transport_load] rpc-transport: /usr/local/lib/glusterfs/3.1.0qa41/rpc-transport/rdma.so: cannot open shared object file: No such file or directory
[2010-10-06 01:36:57.770556] E [rpc-transport.c:901:rpc_transport_load] rpc-transport: volume 'rdma.management': transport-type 'rdma' is not valid or not found on this machine
[2010-10-06 01:36:57.770629] I [glusterd.c:95:glusterd_uuid_init] glusterd: generated UUID: 00b0932f-4983-48d9-889c-3aadb08a08d6
Given volfile:
+------------------------------------------------------------------------------+
  1: volume management
  2:     type mgmt/glusterd
  3:     option working-directory /etc/glusterd
  4:     option transport-type socket,rdma
  5:     option transport.socket.listen-port 6969
  6:     option transport.rdma.listen-port 6968
  7:     # option listen-port 6969
  8: end-volume
  9: 

+------------------------------------------------------------------------------+
[2010-10-06 01:37:09.181345] I [glusterd-handler.c:2158:glusterd_handle_probe_query] glusterd: Received probe from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:09.181421] I [glusterd-handler.c:327:glusterd_friend_find] glusterd: Unable to find peer by uuid
[2010-10-06 01:37:09.182913] I [glusterd-handler.c:339:glusterd_friend_find] glusterd: Unable to find hostname: 10.192.141.187
[2010-10-06 01:37:09.182989] I [glusterd-handler.c:2181:glusterd_handle_probe_query] glusterd: Responded to 10.192.134.144, op_ret: 0, op_errno: 0, ret: 0
[2010-10-06 01:37:09.183017] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:37:09.183420] I [glusterd-handler.c:1937:glusterd_handle_incoming_friend_req] glusterd: Received probe from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:09.183457] I [glusterd-handler.c:327:glusterd_friend_find] glusterd: Unable to find peer by uuid
[2010-10-06 01:37:09.184074] I [glusterd-handler.c:339:glusterd_friend_find] glusterd: Unable to find hostname: 10.192.141.187
[2010-10-06 01:37:09.184092] I [glusterd-handler.c:87:glusterd_handle_friend_req] glusterd:  for host: 10.192.141.187 (6969)
[2010-10-06 01:37:09.186572] W [rpc-transport.c:841:rpc_transport_load] rpc-transport: missing 'option transport-type'. defaulting to "socket"
[2010-10-06 01:37:09.209916] I [glusterd-handler.c:2328:glusterd_friend_add] glusterd: connect returned 0
[2010-10-06 01:37:09.209936] I [glusterd-sm.c:707:glusterd_friend_sm_inject_event] glusterd: Enqueuing event: 7
[2010-10-06 01:37:09.209978] I [glusterd-sm.c:707:glusterd_friend_sm_inject_event] glusterd: Enqueuing event: 4
[2010-10-06 01:37:09.210027] I [glusterd-handler.c:2478:glusterd_xfer_friend_add_resp] glusterd: Responded to 10.192.134.144 (0), ret: 0
[2010-10-06 01:37:09.210044] I [glusterd-sm.c:534:glusterd_friend_sm_transition_state] : Transitioning from 0 to 2
[2010-10-06 01:37:09.210157] I [glusterd-sm.c:707:glusterd_friend_sm_inject_event] glusterd: Enqueuing event: 1
[2010-10-06 01:37:09.210174] I [glusterd-sm.c:534:glusterd_friend_sm_transition_state] : Transitioning from 2 to 2
[2010-10-06 01:37:09.210269] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.192.141.187 found.. state: 2
[2010-10-06 01:37:09.210326] I [glusterd-sm.c:534:glusterd_friend_sm_transition_state] : Transitioning from 2 to 2
[2010-10-06 01:37:09.210691] I [glusterd3_1-mops.c:82:glusterd3_1_probe_cbk] glusterd: Received probe resp from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9, host: 10.192.141.187
[2010-10-06 01:37:09.210718] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 2
[2010-10-06 01:37:09.210741] I [glusterd-sm.c:707:glusterd_friend_sm_inject_event] glusterd: Enqueuing event: 2
[2010-10-06 01:37:09.210805] I [glusterd-sm.c:534:glusterd_friend_sm_transition_state] : Transitioning from 2 to 5
[2010-10-06 01:37:09.210897] I [glusterd3_1-mops.c:139:glusterd3_1_probe_cbk] glusterd: Received resp to probe req
[2010-10-06 01:37:09.211682] I [glusterd3_1-mops.c:186:glusterd3_1_friend_add_cbk] glusterd: Received ACC from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9, host: 10.192.141.187, port: 0
[2010-10-06 01:37:09.211706] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 5
[2010-10-06 01:37:09.211727] I [glusterd-sm.c:707:glusterd_friend_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:37:09.211758] I [glusterd3_1-mops.c:964:glusterd3_1_friend_update] : Added uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9, host: 10.192.141.187
[2010-10-06 01:37:09.211821] I [glusterd-sm.c:534:glusterd_friend_sm_transition_state] : Transitioning from 5 to 3
[2010-10-06 01:37:09.211937] I [glusterd-handler.c:2055:glusterd_handle_friend_update] glusterd: Received friend update from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:09.211964] I [glusterd-handler.c:2100:glusterd_handle_friend_update] : Received uuid: 00b0932f-4983-48d9-889c-3aadb08a08d6, hostname:10.192.134.144
[2010-10-06 01:37:09.211980] I [glusterd-handler.c:2103:glusterd_handle_friend_update] : Received my uuid as Friend
[2010-10-06 01:37:09.212011] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:37:09.212301] I [glusterd3_1-mops.c:371:glusterd3_1_friend_update_cbk] glusterd: Received ACC from uuid: 
[2010-10-06 01:37:36.697003] I [glusterd-handler.c:367:glusterd_handle_cluster_lock] glusterd: Received LOCK from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:36.697071] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 2
[2010-10-06 01:37:36.697093] I [glusterd-handler.c:383:glusterd_handle_cluster_lock] : Returning 0
[2010-10-06 01:37:36.697116] I [glusterd-utils.c:223:glusterd_lock] glusterd: Cluster lock held by ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:36.697177] I [glusterd-handler.c:1793:glusterd_op_lock_send_resp] glusterd: Responded, ret: 0
[2010-10-06 01:37:36.697209] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 0 to 2 due to event 2
[2010-10-06 01:37:36.697229] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:37:36.698570] I [glusterd-handler.c:406:glusterd_handle_stage_op] glusterd: Received stage op from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:36.698594] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 8
[2010-10-06 01:37:36.699767] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.192.141.187 found.. state: 3
[2010-10-06 01:37:36.699813] I [glusterd-handler.c:1875:glusterd_op_stage_send_resp] glusterd: Responded to stage, ret: 0
[2010-10-06 01:37:36.699831] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 2 to 4 due to event 8
[2010-10-06 01:37:36.699851] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:37:36.701694] I [rpc-clnt.c:691:rpc_clnt_handle_cbk] rpc-clnt: recieved rpc message (XID: 0x2a, Ver: 2, Program: 52743234, ProgVers: 1, Proc: 1) from rpc-transport (management)
[2010-10-06 01:37:36.707168] I [glusterd-handler.c:456:glusterd_handle_commit_op] glusterd: Received commit op from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:36.707192] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 9
[2010-10-06 01:37:36.707839] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.192.141.187 found.. state: 3
[2010-10-06 01:37:36.731773] I [glusterd-handler.c:1912:glusterd_op_commit_send_resp] glusterd: Responded to commit, ret: 0
[2010-10-06 01:37:36.731815] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 4 to 6 due to event 9
[2010-10-06 01:37:36.731847] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:37:36.732259] I [glusterd-handler.c:1837:glusterd_handle_cluster_unlock] glusterd: Received UNLOCK from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:36.732278] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 10
[2010-10-06 01:37:36.732324] I [glusterd-handler.c:1813:glusterd_op_unlock_send_resp] glusterd: Responded to unlock, ret: 0
[2010-10-06 01:37:36.732341] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 6 to 0 due to event 10
[2010-10-06 01:37:36.732360] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:37:42.252811] I [glusterd-handler.c:367:glusterd_handle_cluster_lock] glusterd: Received LOCK from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:42.252892] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 2
[2010-10-06 01:37:42.252909] I [glusterd-handler.c:383:glusterd_handle_cluster_lock] : Returning 0
[2010-10-06 01:37:42.252928] I [glusterd-utils.c:223:glusterd_lock] glusterd: Cluster lock held by ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:42.252987] I [glusterd-handler.c:1793:glusterd_op_lock_send_resp] glusterd: Responded, ret: 0
[2010-10-06 01:37:42.253004] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 0 to 2 due to event 2
[2010-10-06 01:37:42.253030] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:37:42.266801] I [glusterd-handler.c:406:glusterd_handle_stage_op] glusterd: Received stage op from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:42.266820] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 8
[2010-10-06 01:37:42.271717] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.192.141.187 found.. state: 3
[2010-10-06 01:37:42.271758] I [glusterd-handler.c:1875:glusterd_op_stage_send_resp] glusterd: Responded to stage, ret: 0
[2010-10-06 01:37:42.271776] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 2 to 4 due to event 8
[2010-10-06 01:37:42.271793] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:37:42.944111] I [glusterd-handler.c:456:glusterd_handle_commit_op] glusterd: Received commit op from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:42.944172] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 9
[2010-10-06 01:37:43.525306] I [glusterd-utils.c:957:glusterd_volume_start_glusterfs] : About to start glusterfs for brick 10.192.134.144:/mnt/qa41
[2010-10-06 01:37:43.646528] I [glusterd-handler.c:1912:glusterd_op_commit_send_resp] glusterd: Responded to commit, ret: 0
[2010-10-06 01:37:43.646581] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 4 to 6 due to event 9
[2010-10-06 01:37:43.646613] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:37:43.647302] I [glusterd-handler.c:1837:glusterd_handle_cluster_unlock] glusterd: Received UNLOCK from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:37:43.647340] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 10
[2010-10-06 01:37:43.647389] I [glusterd-handler.c:1813:glusterd_op_unlock_send_resp] glusterd: Responded to unlock, ret: 0
[2010-10-06 01:37:43.647409] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 6 to 0 due to event 10
[2010-10-06 01:37:43.647425] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:37:43.649450] I [glusterd-pmap.c:237:pmap_registry_bind] pmap: adding brick /mnt/qa41 on port 6971
[2010-10-06 01:38:33.123175] I [glusterd-handler.c:504:glusterd_handle_cli_probe] glusterd: Received CLI probe req 10.214.231.112 6969
[2010-10-06 01:38:33.124780] I [glusterd-handler.c:339:glusterd_friend_find] glusterd: Unable to find hostname: 10.214.231.112
[2010-10-06 01:38:33.124800] I [glusterd-handler.c:2347:glusterd_probe_begin] glusterd: Unable to find peerinfo for host: 10.214.231.112 (6969)
[2010-10-06 01:38:33.127277] W [rpc-transport.c:841:rpc_transport_load] rpc-transport: missing 'option transport-type'. defaulting to "socket"
[2010-10-06 01:38:33.129519] I [glusterd-handler.c:2328:glusterd_friend_add] glusterd: connect returned 0
[2010-10-06 01:38:33.129857] I [glusterd-sm.c:707:glusterd_friend_sm_inject_event] glusterd: Enqueuing event: 11
[2010-10-06 01:38:33.129901] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.214.231.112 found.. state: 0
[2010-10-06 01:38:33.129970] I [glusterd-sm.c:534:glusterd_friend_sm_transition_state] : Transitioning from 0 to 0
[2010-10-06 01:38:36.879133] I [glusterd3_1-mops.c:82:glusterd3_1_probe_cbk] glusterd: Received probe resp from uuid: 5153818c-761a-4c58-8c98-35666293da90, host: 10.214.231.112
[2010-10-06 01:38:36.879206] I [glusterd-handler.c:327:glusterd_friend_find] glusterd: Unable to find peer by uuid
[2010-10-06 01:38:36.879243] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.214.231.112 found.. state: 0
[2010-10-06 01:38:36.879265] I [glusterd-sm.c:707:glusterd_friend_sm_inject_event] glusterd: Enqueuing event: 2
[2010-10-06 01:38:36.879385] I [glusterd-sm.c:534:glusterd_friend_sm_transition_state] : Transitioning from 0 to 1
[2010-10-06 01:38:36.879577] I [glusterd3_1-mops.c:139:glusterd3_1_probe_cbk] glusterd: Received resp to probe req
[2010-10-06 01:38:36.905437] I [rpc-clnt.c:691:rpc_clnt_handle_cbk] rpc-clnt: recieved rpc message (XID: 0x2a, Ver: 2, Program: 52743234, ProgVers: 1, Proc: 1) from rpc-transport (management)
[2010-10-06 01:38:36.905538] I [glusterd-handler.c:2158:glusterd_handle_probe_query] glusterd: Received probe from uuid: 5153818c-761a-4c58-8c98-35666293da90
[2010-10-06 01:38:36.905558] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 1
[2010-10-06 01:38:36.905595] I [glusterd-handler.c:2181:glusterd_handle_probe_query] glusterd: Responded to 10.192.134.144, op_ret: 0, op_errno: 0, ret: 0
[2010-10-06 01:38:36.905616] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:38:36.905652] I [glusterd3_1-mops.c:186:glusterd3_1_friend_add_cbk] glusterd: Received ACC from uuid: 5153818c-761a-4c58-8c98-35666293da90, host: 10.214.231.112, port: 0
[2010-10-06 01:38:36.905676] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 1
[2010-10-06 01:38:36.905691] I [glusterd-sm.c:707:glusterd_friend_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:38:36.905742] I [glusterd-handler.c:2501:glusterd_xfer_cli_probe_resp] glusterd: Responded to CLI, ret: 0
[2010-10-06 01:38:36.905759] I [glusterd-sm.c:534:glusterd_friend_sm_transition_state] : Transitioning from 1 to 4
[2010-10-06 01:38:36.906869] I [glusterd-handler.c:1937:glusterd_handle_incoming_friend_req] glusterd: Received probe from uuid: 5153818c-761a-4c58-8c98-35666293da90
[2010-10-06 01:38:36.906908] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 4
[2010-10-06 01:38:36.906925] I [glusterd-sm.c:707:glusterd_friend_sm_inject_event] glusterd: Enqueuing event: 7
[2010-10-06 01:38:36.906949] I [glusterd-sm.c:707:glusterd_friend_sm_inject_event] glusterd: Enqueuing event: 4
[2010-10-06 01:38:36.906983] I [glusterd-handler.c:2478:glusterd_xfer_friend_add_resp] glusterd: Responded to 10.192.134.144 (0), ret: 0
[2010-10-06 01:38:36.907000] I [glusterd-sm.c:534:glusterd_friend_sm_transition_state] : Transitioning from 4 to 4
[2010-10-06 01:38:36.907108] I [glusterd3_1-mops.c:964:glusterd3_1_friend_update] : Added uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9, host: 10.192.141.187
[2010-10-06 01:38:36.907129] I [glusterd3_1-mops.c:964:glusterd3_1_friend_update] : Added uuid: 5153818c-761a-4c58-8c98-35666293da90, host: 10.214.231.112
[2010-10-06 01:38:36.907202] I [glusterd-sm.c:534:glusterd_friend_sm_transition_state] : Transitioning from 4 to 3
[2010-10-06 01:38:36.907294] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:38:36.907640] I [glusterd-handler.c:2055:glusterd_handle_friend_update] glusterd: Received friend update from uuid: 5153818c-761a-4c58-8c98-35666293da90
[2010-10-06 01:38:36.907666] I [glusterd-handler.c:2100:glusterd_handle_friend_update] : Received uuid: 00b0932f-4983-48d9-889c-3aadb08a08d6, hostname:10.192.134.144
[2010-10-06 01:38:36.907696] I [glusterd-handler.c:2103:glusterd_handle_friend_update] : Received my uuid as Friend
[2010-10-06 01:38:36.907728] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:38:36.913066] I [glusterd3_1-mops.c:371:glusterd3_1_friend_update_cbk] glusterd: Received ACC from uuid: 
[2010-10-06 01:38:36.913483] I [glusterd3_1-mops.c:371:glusterd3_1_friend_update_cbk] glusterd: Received ACC from uuid: 
[2010-10-06 01:39:03.284255] I [glusterd-op-sm.c:5031:glusterd_op_set_cli_op] : Returning 0
[2010-10-06 01:39:03.284335] I [glusterd-handler.c:1157:glusterd_handle_replace_brick] glusterd: Received replace brick req
[2010-10-06 01:39:03.284383] I [glusterd-utils.c:223:glusterd_lock] glusterd: Cluster lock held by 00b0932f-4983-48d9-889c-3aadb08a08d6
[2010-10-06 01:39:03.284398] I [glusterd-handler.c:2545:glusterd_op_txn_begin] glusterd: Acquired local lock
[2010-10-06 01:39:03.284414] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 1
[2010-10-06 01:39:03.284429] I [glusterd-handler.c:2549:glusterd_op_txn_begin] glusterd: Returning 0
[2010-10-06 01:39:03.284517] I [glusterd3_1-mops.c:1054:glusterd3_1_cluster_lock] glusterd: Sent lock req to 2 peers
[2010-10-06 01:39:03.284535] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 0 to 1 due to event 1
[2010-10-06 01:39:03.284566] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:39:03.294668] I [glusterd3_1-mops.c:410:glusterd3_1_cluster_lock_cbk] glusterd: Received ACC from uuid: 5153818c-761a-4c58-8c98-35666293da90
[2010-10-06 01:39:03.294697] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:03.294718] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:03.294738] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 1 to 1 due to event 3
[2010-10-06 01:39:03.294777] I [glusterd3_1-mops.c:410:glusterd3_1_cluster_lock_cbk] glusterd: Received ACC from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:39:03.294794] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:03.294809] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:03.294824] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 4
[2010-10-06 01:39:03.294838] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 1 to 1 due to event 3
[2010-10-06 01:39:03.294869] I [glusterd-utils.c:713:glusterd_volume_brickinfo_get_by_brick] : brick: 10.192.134.144:/mnt/qa41
[2010-10-06 01:39:03.295830] I [glusterd-utils.c:686:glusterd_volume_brickinfo_get] : Found brick
[2010-10-06 01:39:03.295885] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.214.231.112 found.. state: 3
[2010-10-06 01:39:03.295941] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.214.231.112 found.. state: 3
[2010-10-06 01:39:03.295999] I [glusterd3_1-mops.c:1195:glusterd3_1_stage_op] glusterd: Sent op req to 2 peers
[2010-10-06 01:39:03.296020] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 1 to 3 due to event 4
[2010-10-06 01:39:03.296577] I [glusterd3_1-mops.c:533:glusterd3_1_stage_op_cbk] glusterd: Received ACC from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:39:03.296595] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:03.296610] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:03.296625] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 3 to 3 due to event 3
[2010-10-06 01:39:03.297410] I [glusterd3_1-mops.c:533:glusterd3_1_stage_op_cbk] glusterd: Received RJT from uuid: 5153818c-761a-4c58-8c98-35666293da90
[2010-10-06 01:39:03.297457] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:03.297479] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 7
[2010-10-06 01:39:03.297540] I [glusterd3_1-mops.c:1108:glusterd3_1_cluster_unlock] glusterd: Sent unlock req to 2 peers
[2010-10-06 01:39:03.297556] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 3 to 7 due to event 7
[2010-10-06 01:39:03.297871] I [glusterd3_1-mops.c:471:glusterd3_1_cluster_unlock_cbk] glusterd: Received ACC from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:39:03.297894] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:03.297919] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:03.297939] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 7 to 7 due to event 3
[2010-10-06 01:39:03.297999] I [glusterd3_1-mops.c:471:glusterd3_1_cluster_unlock_cbk] glusterd: Received ACC from uuid: 5153818c-761a-4c58-8c98-35666293da90
[2010-10-06 01:39:03.298016] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:03.298031] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:03.298045] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 4
[2010-10-06 01:39:03.298059] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 7 to 7 due to event 3
[2010-10-06 01:39:03.298077] I [glusterd-op-sm.c:4407:glusterd_op_txn_complete] glusterd: Cleared local lock
[2010-10-06 01:39:03.298115] I [glusterd-op-sm.c:4371:glusterd_op_send_cli_response] : Returning 0
[2010-10-06 01:39:03.298134] I [glusterd-op-sm.c:4450:glusterd_op_txn_complete] glusterd: Returning 0
[2010-10-06 01:39:03.298148] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 7 to 0 due to event 4
[2010-10-06 01:39:23.829232] I [glusterd-op-sm.c:5031:glusterd_op_set_cli_op] : Returning 0
[2010-10-06 01:39:23.829304] I [glusterd-handler.c:1157:glusterd_handle_replace_brick] glusterd: Received replace brick req
[2010-10-06 01:39:23.829352] I [glusterd-utils.c:223:glusterd_lock] glusterd: Cluster lock held by 00b0932f-4983-48d9-889c-3aadb08a08d6
[2010-10-06 01:39:23.829368] I [glusterd-handler.c:2545:glusterd_op_txn_begin] glusterd: Acquired local lock
[2010-10-06 01:39:23.829384] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 1
[2010-10-06 01:39:23.829399] I [glusterd-handler.c:2549:glusterd_op_txn_begin] glusterd: Returning 0
[2010-10-06 01:39:23.829492] I [glusterd3_1-mops.c:1054:glusterd3_1_cluster_lock] glusterd: Sent lock req to 2 peers
[2010-10-06 01:39:23.829511] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 0 to 1 due to event 1
[2010-10-06 01:39:23.829528] W [glusterd3_1-mops.c:1454:glusterd_handle_rpc_msg] : Returning 0
[2010-10-06 01:39:23.830162] I [glusterd3_1-mops.c:410:glusterd3_1_cluster_lock_cbk] glusterd: Received ACC from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:39:23.830186] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:23.830206] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:23.830227] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 1 to 1 due to event 3
[2010-10-06 01:39:23.830392] I [glusterd3_1-mops.c:410:glusterd3_1_cluster_lock_cbk] glusterd: Received ACC from uuid: 5153818c-761a-4c58-8c98-35666293da90
[2010-10-06 01:39:23.830419] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:23.830438] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:23.830458] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 4
[2010-10-06 01:39:23.830502] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 1 to 1 due to event 3
[2010-10-06 01:39:23.830540] I [glusterd-utils.c:713:glusterd_volume_brickinfo_get_by_brick] : brick: 10.192.134.144:/mnt/qa41
[2010-10-06 01:39:23.831491] I [glusterd-utils.c:686:glusterd_volume_brickinfo_get] : Found brick
[2010-10-06 01:39:23.831546] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.214.231.112 found.. state: 3
[2010-10-06 01:39:23.831599] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.214.231.112 found.. state: 3
[2010-10-06 01:39:23.831651] I [glusterd3_1-mops.c:1195:glusterd3_1_stage_op] glusterd: Sent op req to 2 peers
[2010-10-06 01:39:23.831672] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 1 to 3 due to event 4
[2010-10-06 01:39:23.832209] I [glusterd3_1-mops.c:533:glusterd3_1_stage_op_cbk] glusterd: Received ACC from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:39:23.832233] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:23.832253] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:23.832273] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 3 to 3 due to event 3
[2010-10-06 01:39:23.833059] I [glusterd3_1-mops.c:533:glusterd3_1_stage_op_cbk] glusterd: Received ACC from uuid: 5153818c-761a-4c58-8c98-35666293da90
[2010-10-06 01:39:23.833081] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:23.833101] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:23.833121] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 5
[2010-10-06 01:39:23.833140] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 3 to 3 due to event 3
[2010-10-06 01:39:23.833179] I [glusterd-utils.c:713:glusterd_volume_brickinfo_get_by_brick] : brick: 10.192.134.144:/mnt/qa41
[2010-10-06 01:39:23.833805] I [glusterd-utils.c:686:glusterd_volume_brickinfo_get] : Found brick
[2010-10-06 01:39:23.833831] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.214.231.112 found.. state: 3
[2010-10-06 01:39:23.833883] I [glusterd-op-sm.c:2711:glusterd_op_replace_brick] : adding src-brick port no
[2010-10-06 01:39:23.834036] I [glusterd-utils.c:840:glusterd_service_stop] : Stopping gluster brick running in pid: 17415
[2010-10-06 01:39:25.835565] I [glusterd-pmap.c:281:pmap_registry_remove] pmap: removing brick /mnt/qa41 on port 6971
[2010-10-06 01:39:25.835637] I [glusterd-utils.c:957:glusterd_volume_start_glusterfs] : About to start glusterfs for brick 10.192.134.144:/mnt/qa41
[2010-10-06 01:39:25.902676] I [glusterd3_1-mops.c:1285:glusterd3_1_commit_op] glusterd: Sent op req to 2 peers
[2010-10-06 01:39:25.902745] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 3 to 5 due to event 5
[2010-10-06 01:39:25.902975] I [glusterd-pmap.c:281:pmap_registry_remove] pmap: removing brick (null) on port 6971
[2010-10-06 01:39:25.903596] I [glusterd3_1-mops.c:680:glusterd3_1_commit_op_cbk] glusterd: Received ACC from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:39:25.903627] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:25.903649] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:25.903676] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 5 to 5 due to event 3
[2010-10-06 01:39:25.921964] I [glusterd-pmap.c:237:pmap_registry_bind] pmap: adding brick /mnt/qa41 on port 6971
[2010-10-06 01:39:26.533660] I [glusterd3_1-mops.c:680:glusterd3_1_commit_op_cbk] glusterd: Received ACC from uuid: 5153818c-761a-4c58-8c98-35666293da90
[2010-10-06 01:39:26.533720] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:26.533760] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:26.533786] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 5 to 5 due to event 3
[2010-10-06 01:39:31.661704] I [glusterd-utils.c:713:glusterd_volume_brickinfo_get_by_brick] : brick: 10.192.134.144:/mnt/qa41
[2010-10-06 01:39:31.663187] I [glusterd-utils.c:686:glusterd_volume_brickinfo_get] : Found brick
[2010-10-06 01:39:31.663259] I [glusterd-utils.c:2123:glusterd_friend_find_by_hostname] glusterd: Friend 10.214.231.112 found.. state: 3
[2010-10-06 01:39:31.663281] E [glusterd-op-sm.c:4075:glusterd_do_replace_brick] : Unable to get dst-brick port
[2010-10-06 01:39:31.663297] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 7
[2010-10-06 01:39:31.663313] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 11
[2010-10-06 01:39:31.663328] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 5 to 5 due to event 7
[2010-10-06 01:39:31.663423] I [glusterd3_1-mops.c:1108:glusterd3_1_cluster_unlock] glusterd: Sent unlock req to 2 peers
[2010-10-06 01:39:31.663443] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 5 to 7 due to event 11
[2010-10-06 01:39:31.664095] I [glusterd3_1-mops.c:471:glusterd3_1_cluster_unlock_cbk] glusterd: Received ACC from uuid: ddfab229-ee88-47cb-a1fe-de3f277af0e9
[2010-10-06 01:39:31.664124] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:31.664145] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:31.664190] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 7 to 7 due to event 3
[2010-10-06 01:39:31.664232] I [glusterd3_1-mops.c:471:glusterd3_1_cluster_unlock_cbk] glusterd: Received ACC from uuid: 5153818c-761a-4c58-8c98-35666293da90
[2010-10-06 01:39:31.664249] I [glusterd-utils.c:2082:glusterd_friend_find_by_uuid] glusterd: Friend found.. state: 3
[2010-10-06 01:39:31.664264] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 3
[2010-10-06 01:39:31.664279] I [glusterd-op-sm.c:4888:glusterd_op_sm_inject_event] glusterd: Enqueuing event: 4
[2010-10-06 01:39:31.664293] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 7 to 7 due to event 3
[2010-10-06 01:39:31.664311] I [glusterd-op-sm.c:4407:glusterd_op_txn_complete] glusterd: Cleared local lock
[2010-10-06 01:39:31.664360] I [glusterd-op-sm.c:4371:glusterd_op_send_cli_response] : Returning 0
[2010-10-06 01:39:31.664382] I [glusterd-op-sm.c:4450:glusterd_op_txn_complete] glusterd: Returning 0
[2010-10-06 01:39:31.664397] I [glusterd-op-sm.c:4569:glusterd_op_sm_transition_state] : Transitioning from 7 to 0 due to event 4

Comment 1 Lakshmipathi G 2010-10-08 11:42:50 UTC
works with qa42 . verified


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