Description of problem:
RDMA transport was never supported for management connection before, but glfs_set_volfile_server() allowed it and the gluster code silently fall back to tcp with out a warning, this gave a chance to people assume that mgmt connection supports rdma along with tcp and unix.
We need to deprecate the rdma support by stating to splash warning at the usage.
Also add better defense code on port and transport;
Version-Release number of selected component (if applicable):
REVIEW: http://review.gluster.org/15026 (gfapi: deprecate rdma support for management connections) posted (#1) for review on master by Prasanna Kumar Kalever (email@example.com)
COMMIT: http://review.gluster.org/15026 committed in master by Niels de Vos (firstname.lastname@example.org)
Author: Prasanna Kumar Kalever <email@example.com>
Date: Wed Jul 27 14:23:23 2016 +0530
gfapi: deprecate rdma support for management connections
RDMA transport was never supported for management connection before, but
glfs_set_volfile_server() allowed rdma transport type due to lack of defense
code and the glusterfs_mgmt_init() code silently fall back to tcp with out
any warnings, this gave a chance for assumtions that mgmt connection also
supports rdma along with tcp and unix.
This patch deprecates the rdma support by warning at its usage.
Signed-off-by: Prasanna Kumar Kalever <firstname.lastname@example.org>
Tested-by: Prasanna Kumar Kalever <email@example.com>
Smoke: Gluster Build System <firstname.lastname@example.org>
NetBSD-regression: NetBSD Build System <email@example.com>
CentOS-regression: Gluster Build System <firstname.lastname@example.org>
Reviewed-by: Jeff Darcy <email@example.com>
Reviewed-by: Niels de Vos <firstname.lastname@example.org>
*** Bug 1360646 has been marked as a duplicate of this bug. ***
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.9.0, please open a new bug report.
glusterfs-3.9.0 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.