Bug 1033033

Summary: dist-geo-rep: geo-rep start with invalid slave url (':' instead of '::') throws unrelated and incorrect error message.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: M S Vishwanath Bhat <vbhat>
Component: geo-replicationAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED EOL QA Contact: storage-qa-internal <storage-qa-internal>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: avishwan, chrisw, csaba, mzywusko, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: usability
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1285197 (view as bug list) Environment:
Last Closed: 2015-11-25 08:48:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1285197    

Description M S Vishwanath Bhat 2013-11-21 13:01:27 UTC
Description of problem:
The geo-rep start with ':' instead of '::' in the slave URL gives completely unrelated and incorrect error message.

Version-Release number of selected component (if applicable):
glusterfs-3.4.0.44rhs-1.el6rhs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run geo-rep start with ':' in the slave url

Actual results:

With ':::'

[root@pythagoras ]# gluster v geo  master euclid:::slave start
Session between master and euclid:::slave has not been created. Please create session and retry.
geo-replication command failed

With ':'

[root@pythagoras ]# gluster v geo  master euclid:slave start
euclid::slave is not empty. Please delete existing files in euclid::slave and retry, or use force to continue without deleting the existing files.
geo-replication command failed


Proper url '::'

[root@pythagoras ]# gluster v geo  master euclid::slave start
Starting geo-replication session between master & euclid::slave has been successful


Expected results:
Session between master and euclid:slave has not been created. Please create session and retry.
geo-replication command failed

Additional info:

Comment 2 Aravinda VK 2015-11-25 08:48:46 UTC
Closing this bug since RHGS 2.1 release reached EOL. Required bugs are cloned to RHGS 3.1. Please re-open this issue if found again.

Comment 3 Aravinda VK 2015-11-25 08:50:41 UTC
Closing this bug since RHGS 2.1 release reached EOL. Required bugs are cloned to RHGS 3.1. Please re-open this issue if found again.