Updated Description: Description of problem: When using uppercase hostnames for volume creation or for create push-pem geo replication failes Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: Either use the uppercase hostname for the slave_host in the gluster volume geo-replication MASTER_VOL SLAVE_HOST::SLAVE_VOL create push-pem command OR create the SLAVE_VOL using the uppercase hostnames # gluster system:: execute gsec_create Common secret pub file present at /var/lib/glusterd/geo-replication/common_secret.pem.pub # gluster vol geo-replication vol01 RHGS3::vol01 create push-pem Invalid Url: RHGS3::vol01 geo-replication command failed # gluster vol geo-replication vol01 rhgs3::vol01 create push-pem Creating geo-replication session between vol01 & rhgs3::vol01 has been successful # gluster vol geo-replication vol01 rhgs3::vol01 status MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED --------------------------------------------------------------------------------------------------------------------------------- rhgs1 vol01 /rhs/brick1/vol root rhgs3::vol01 N/A Created N/A N/A rhgs2 vol01 /rhs/brick1/vol root rhgs3::vol01 N/A Created N/A N/A [root@rhgs1 .unsupported]# gluster vol geo-replication vol01 rhgs3::vol01 start Starting geo-replication session between vol01 & rhgs3::vol01 has been successful [root@rhgs1 .unsupported]# gluster vol geo-replication vol01 rhgs3::vol01 status MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED -------------------------------------------------------------------------------------------------------------------------------- rhgs1 vol01 /rhs/brick1/vol root rhgs3::vol01 N/A Faulty N/A N/A rhgs2 vol01 /rhs/brick1/vol root rhgs3::vol01 N/A Faulty N/A N/A Actual results: Geo-Replication can not start Expected results: Geo-Replication should start
REVIEW: http://review.gluster.org/12216 (geo-rep: geo-rep to handle CAPS based Hostname) posted (#7) for review on master by Saravanakumar Arumugam (sarumuga)
REVIEW: http://review.gluster.org/12216 (geo-rep: geo-rep to handle CAPS based Hostname) posted (#8) for review on master by Saravanakumar Arumugam (sarumuga)
COMMIT: http://review.gluster.org/12216 committed in master by Vijay Bellur (vbellur) ------ commit f6142e97c6219d2c1c482a414690020ed1275bdb Author: Saravanakumar Arumugam <sarumuga> Date: Wed Sep 23 12:21:40 2015 +0530 geo-rep: geo-rep to handle CAPS based Hostname Problem: geo-replication session creation fails when Hostname is having CAPS in it. Issue is with the regex pattern which handles only small lettered Hostname. Fix: Fix the regex pattern to handle CAPS based hostname as well. Change-Id: I5c99c102e9706acc2b1fab1e6bf158e68beed373 BUG: 1265522 Signed-off-by: Saravanakumar Arumugam <sarumuga> Reviewed-on: http://review.gluster.org/12216 Tested-by: NetBSD Build System <jenkins.org> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Milind Changire <mchangir> Reviewed-by: Aravinda VK <avishwan> Reviewed-by: Vijay Bellur <vbellur>
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 [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://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user