Bug 996040

Summary: Dist-gep-rep: if the config state_file is given without absolute path, it create is in "/" rather than on PWD.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vijaykumar Koppad <vkoppad>
Component: geo-replicationAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED EOL QA Contact: storage-qa-internal <storage-qa-internal>
Severity: low Docs Contact:
Priority: low    
Version: 2.1CC: avishwan, chrisw, csaba, david.macdonald, nsathyan, rhs-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: config
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1285204 (view as bug list) Environment:
Last Closed: 2015-11-25 08:49:12 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: 1285204    

Description Vijaykumar Koppad 2013-08-12 09:40:38 UTC
Description of problem: The geo-rep  state_file is set using  geo-rep config command without giving absolute path of the file, ( eg gluster v geo <master> <slave-url> config state_file state-file), it creates file in "/" rather than in PWD. 


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


How reproducible:Happens everytime 


Steps to Reproduce:
1.create a geo-rep relationship between master and slave.
2.Set the geo-rep state_file using geo-rep config as "gluster v geo <master> <slave-url> config state_file state-file"
3.start the geo-rep session 

Actual results: geo-rep create state_file in "/"


Expected results: It should actually create state_file in PWD.


Additional info:

Comment 3 Aravinda VK 2014-12-24 07:19:55 UTC
Solution is to confine state_file to glusterd's working directory.

Comment 4 Aravinda VK 2015-11-25 08:49:12 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 5 Aravinda VK 2015-11-25 08:50:59 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.