Bug 1131502 - Fuse mounting of a tcp,rdma volume with rdma as transport type always mounts as tcp without any fail
Summary: Fuse mounting of a tcp,rdma volume with rdma as transport type always mounts ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: rdma
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anoop C S
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1134839 1154617 1164079 1166140 1166515
TreeView+ depends on / blocked
 
Reported: 2014-08-19 12:48 UTC by Mohammed Rafi KC
Modified: 2015-05-14 17:43 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.7.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1154617 (view as bug list)
Environment:
Last Closed: 2015-05-14 17:27:13 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Mohammed Rafi KC 2014-08-19 12:48:20 UTC
Description of problem:

When we create a volume with transport type as tcp,rdma, and fuse mount with rdma, it silently mounts as tcp. 

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


How reproducible:
Always

Steps to Reproduce:
1.Create a gluster volume with tcp,rdma transport
2. Start the volume 
3.fuse mount with rdma transport

Actual results:
Mount shows successful, but mounts with transport type tcp.

Snippet of Mount log
  volume test8-client-0
       type protocol/client
       option send-gids true
       option password d62b2811-947d-4ea3-a76c-d80ab0d78fb1
       option username 370718a0-7810-45d9-b0ca-df7c21aadb1a
       option transport-type socket
       option remote-subvolume /home/brick20
       option remote-host 192.168.44.105
       option ping-timeout 42
   end-volume


Expected results:

Mounting should takes place as rdma transport, and mount log should contain
  volume test8-client-0
       type protocol/client
       option send-gids true
       option password d62b2811-947d-4ea3-a76c-d80ab0d78fb1
       option username 370718a0-7810-45d9-b0ca-df7c21aadb1a
       option transport-type rdma
       option remote-subvolume /home/brick20
       option remote-host 192.168.44.105
       option ping-timeout 42
   end-volume

Additional info:

Comment 1 Anand Avati 2014-08-19 14:12:00 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Fuse mount of a tcp,rdma volume with transport=rdma mounts as tcp) posted (#1) for review on master by Anoop C S (achiraya)

Comment 2 Anand Avati 2014-09-08 12:29:12 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Fuse mount of a tcp,rdma volume with transport=rdma mounts as tcp) posted (#2) for review on master by Anoop C S (achiraya)

Comment 3 Anand Avati 2014-09-09 12:46:51 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Fuse mount of a tcp,rdma volume with transport=rdma mounts as tcp) posted (#3) for review on master by Anoop C S (achiraya)

Comment 4 Anand Avati 2014-09-13 15:27:38 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Fuse mount of a tcp,rdma volume with transport=rdma mounts as tcp) posted (#4) for review on master by Anoop C S (achiraya)

Comment 5 Anand Avati 2014-09-15 06:57:51 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Fuse mount of a tcp,rdma volume with transport=rdma mounts as tcp) posted (#5) for review on master by Anoop C S (achiraya)

Comment 6 Anand Avati 2014-09-26 08:08:58 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Fuse mount of a tcp,rdma volume with transport=rdma mounts as tcp) posted (#6) for review on master by Anoop C S (achiraya)

Comment 7 Anand Avati 2014-09-26 08:12:14 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Fuse mount of a tcp,rdma volume with transport=rdma mounts as tcp) posted (#7) for review on master by Anoop C S (achiraya)

Comment 8 Anand Avati 2014-10-13 05:51:52 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Fuse mount of a tcp,rdma volume with transport=rdma mounts as tcp) posted (#8) for review on master by Anoop C S (achiraya)

Comment 9 Anand Avati 2014-11-14 08:51:27 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Wrong volfile fetch on fuse mounting tcp,rdma volume via rdma) posted (#9) for review on master by Anoop C S (achiraya)

Comment 10 Anand Avati 2014-11-14 19:04:56 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Wrong volfile fetch on fuse mounting tcp,rdma volume via rdma) posted (#10) for review on master by Anoop C S (achiraya)

Comment 11 Anand Avati 2014-11-17 19:11:38 UTC
REVIEW: http://review.gluster.org/8498 (rdma: Wrong volfile fetch on fuse mounting tcp,rdma volume via rdma) posted (#11) for review on master by Anoop C S (achiraya)

Comment 12 Anand Avati 2014-11-18 09:00:48 UTC
COMMIT: http://review.gluster.org/8498 committed in master by Raghavendra G (rgowdapp) 
------
commit c566e914a1ae84b18e20c917474be3028cd1b5de
Author: Anoop C S <achiraya>
Date:   Wed Nov 12 18:02:15 2014 +0530

    rdma: Wrong volfile fetch on fuse mounting tcp,rdma volume via rdma
    
    As of now for both tcp only volumes and rdma only volumes, volfile
    names are in the format <volname>-fuse.vol. This patch will change
    the client volfile namings as shown below.
    
     * TCP mounts always use <volname>-fuse.vol
     * RDMA mounts always use <volname>.rdma-fuse.vol
    
    Following the above naming convention, for tcp,rdma volumes both
    volfiles will be present under /var/lib/glusterd/vols/<volname>/
    such that rdma only volume can be mounted as
    
    mount -t glusterfs -o transport=rdma <server/ip>:/<volname> <mount-point>
    OR
    mount -t glusterfs <server/ip>:/<volname>.rdma <mount-point>
    
    The above command format can also be used to fuse mount a tcp,rdma
    volume via rdma transport.
    
    When we try to fuse mount a tcp,rdma volume with transport-type
    as rdma it silently mounts via tcp. This change will also make
    sure that it fetches the correct volfile based on the
    transport-type specified from client side.
    
    BUG: 1131502
    Change-Id: I34da4b01ac813b69494a43188f51145457412923
    Signed-off-by: Anoop C S <achiraya>
    Reviewed-on: http://review.gluster.org/8498
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Reviewed-by: Raghavendra G <rgowdapp>
    Tested-by: Raghavendra G <rgowdapp>

Comment 13 Niels de Vos 2015-05-14 17:27:13 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 14 Niels de Vos 2015-05-14 17:35:33 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 15 Niels de Vos 2015-05-14 17:37:55 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 16 Niels de Vos 2015-05-14 17:43:18 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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