Bug 764824 (GLUSTER-3092) - transport type is hardcoded as "tcp" in dst-brick volfile while doing replace-brick
Summary: transport type is hardcoded as "tcp" in dst-brick volfile while doing replace...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3092
Product: GlusterFS
Classification: Community
Component: glusterd
Version: 3.2.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: M S Vishwanath Bhat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-27 13:52 UTC by M S Vishwanath Bhat
Modified: 2016-06-01 01:55 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description M S Vishwanath Bhat 2011-06-27 13:52:50 UTC
While doing replace-brick transport type of the dst-brick is hardcoded as "tcp" in volfile. As a result, replace-brick fails in rdma set-up.

Comment 1 M S Vishwanath Bhat 2011-07-08 08:05:19 UTC
Transport type is hard coded in maintenance client volgile also. And Also the transport type is wrong in the volfile when the pump is loaded.

Comment 2 Anand Avati 2011-07-24 15:44:44 UTC
CHANGE: http://review.gluster.com/72 (Replace-brick didn't support transport types other than tcp.) merged in master by Anand Avati (avati)

Comment 3 Amar Tumballi 2011-07-26 00:49:47 UTC
Vishwanath, Please submit it to the release-3.2 branch also.

Comment 4 Anand Avati 2011-08-04 10:51:19 UTC
CHANGE: http://review.gluster.com/133 (Replace-brick didn't work in volume with rdma transport type.) merged in release-3.2 by Anand Avati (avati)

Comment 5 M S Vishwanath Bhat 2011-08-11 09:28:50 UTC
In 3.2.3 it's fixed. Now after starting the replace-brick operation source volfile and dest volfile are generated with transport type as rdma . When the transport type is tcp,rdma volfile is src and dest generated with 'tcp' transport type.

maintenance client volfile 

volume mnt-client
 type protocol/client
 option remote-host 10.1.10.24
 option remote-subvolume /tmp/brick1
 option remote-port 24009
 option transport-type rdma
end-volume
volume mnt-wb
 type performance/write-behind
 subvolumes mnt-client
end-volume

dest-brick volfile

volume src-posix
 type storage/posix
 option directory /tmp/brick5
end-volume
volume /tmp/brick5
 type features/locks
 subvolumes src-posix
end-volume
volume src-server
 type protocol/server
 option auth.addr./tmp/brick5.allow *
 option transport-type rdma
 subvolumes /tmp/brick5
end-volume


source brick volfile


volume hosdu-replace-brick
    type protocol/client
    option transport-type rdma
end-volume

volume hosdu-pump
    type cluster/pump
    subvolumes hosdu-io-threads hosdu-replace-brick
end-volume

volume hosdu-marker
    type features/marker
    option volume-uuid fbfcaa50-3dce-4f16-83d7-c7dfdf08942d
    option timestamp-file /etc/glusterd/vols/hosdu/marker.tstamp
    option xtime off
    option quota off
    subvolumes hosdu-pump
end-volume


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