Bug 797001 - can't add tcp transport type to already existing volume with rdma transport
Summary: can't add tcp transport type to already existing volume with rdma transport
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterd
Version: 1.0
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Krutika Dhananjay
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 01:37 UTC by csb sysadmin
Modified: 2013-10-03 09:55 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.4.0.33rhs-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-03 09:26:56 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description csb sysadmin 2012-02-24 01:37:52 UTC
Description of problem:

Trying to add tcp transport type to already existing volume with rdma transport :

gluster> volume info
 
Volume Name: pirstripe
Type: Stripe
Status: Started
Number of Bricks: 5
Transport-type: rdma
Bricks:
Brick1: gluster1:/export/gluster1/pirstripe
Brick2: gluster2:/export/gluster2/pirstripe
Brick3: gluster3:/export/gluster3/pirstripe
Brick4: gluster4:/export/gluster4/pirstripe
Brick5: gluster5:/export/gluster5/pirstripe
Options Reconfigured:
auth.allow: 10.2.178.*

gluster> volume set pirstripe transport-type rdma,tcp
Changing nfs transport type is allowed only for volumes of transport type tcp,rdma
Set volume unsuccessful

gluster> volume set pirstripe transport-type tcp,rdma
Changing nfs transport type is allowed only for volumes of transport type tcp,rdma
Set volume unsuccessful

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

3.3 beta 2

How reproducible:

always

Steps to Reproduce:
1. create a volume with rdma transport or just tcp transport
2. try to add tcp to existing volume that uses rdma or vice versa
3.
  
Actual results:

fails with strange nfs error

Expected results:

should add the correct tcp or rdma transport blocks to existing vol cfg files

Additional info:

Comment 1 Amar Tumballi 2012-02-27 06:52:46 UTC
This is not supported with current versions. Will consider it as a feature request, as there exists a workaround

1) delete your rdma volume
2) create the volume with same bricks with both 'tcp,rdma' transport

Comment 2 csb sysadmin 2012-02-27 13:55:04 UTC
If I delete the volume, I don't think gluster currently allows a re-create if the bricks have existing data in them right? Which brings up another feature request to have an option to force this if required. The workaround I used was to :

1) Create a test stripe volume that basically has the same setup except it has rdma,tcp
2) Turn glusterd and glusterfsd off
3) Add transport-type tcp,rdma to all the server .vol files
4) Create a <volname>.rdma-fuse.vol file in addition to the <volname>-fuse.vol similar to the test volume
5) In the info file, change transport-type to 2
6) Turn glusterd and glusterfsd on

Comment 3 krishnan parthasarathi 2012-02-27 15:24:42 UTC
@csb sysadmin, the bricks which were part of any volume have trusted.glusterfs.volume-id set to the volume-id as seen in 'gluster volume info'.
This is not removed by glusterd on delete volume, to serve as a reminder to the administrator who can accidentally add the brick (which may still have old data, along with gfid from past life.) to a newly created volume.
We expect the administrator to perform 'cleaning' of bricks using extras/clear_xattrs.sh (or any custom-made script), before the brick is made a part of any volume.

As for the problem of not being able to change transport-type, I haven't managed to look into it yet. Will look into it and get back to you as early as possible.

Comment 5 Amar Tumballi 2012-10-05 07:19:11 UTC
http://review.gluster.org/4008 merged upstream...

Comment 6 Sachidananda Urs 2013-08-08 05:40:53 UTC
Moving out of Big Bend since RDMA support is not available in Big Bend,2.1

Comment 7 Sachidananda Urs 2013-08-08 05:42:16 UTC
Moving out of Big Bend since RDMA support is not available in Big Bend,2.1

Comment 9 RHEL Program Management 2013-10-03 09:26:56 UTC
Quality Engineering Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


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