Red Hat Bugzilla – Bug 996040
Dist-gep-rep: if the config state_file is given without absolute path, it create is in "/" rather than on PWD.
Last modified: 2015-11-25 03:50:59 EST
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-126.96.36.199rhs-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.
Solution is to confine state_file to glusterd's working directory.
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.