Red Hat Bugzilla – Bug 1260561
transport and port should be optional arguments for glfs_set_volfile_server
Last modified: 2016-06-16 09:35:09 EDT
Description of problem:
Only server is the required argument for glfs_set_volfile_server
and both transport and port are optional. When glfs_set_volfile_server
is invocated multiple times, only on the first invocation we replace
port 0 with 24007 and transport NULL with "localhost".
Hence, replacing the parameters at the entry function is the right way.
Steps to Reproduce:
1. Download the attached program.
2. Find the readme within the file.
3. Follow the instructions.
REVIEW: http://review.gluster.org/12114 (gfapi: transport and port are optional for glfs_set_volfile_server) posted (#1) for review on master by Raghavendra Talur (firstname.lastname@example.org)
Created attachment 1070875 [details]
test to reproduce the issue
REVIEW: http://review.gluster.org/12114 (gfapi: transport and port are optional for glfs_set_volfile_server) posted (#2) for review on master by Raghavendra Talur (email@example.com)
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.8.0, please open a new bug report.
glusterfs-3.8.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.