Bug 849303 - Geo-rep ip based access control is broken.
Summary: Geo-rep ip based access control is broken.
Keywords:
Status: CLOSED DUPLICATE of bug 826021
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: geo-replication
Version: 2.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Venky Shankar
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On: 826021
Blocks: 850514
TreeView+ depends on / blocked
 
Reported: 2012-08-18 02:38 UTC by Vidya Sakar
Modified: 2013-06-05 07:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 826021
Environment:
Last Closed: 2013-05-09 22:30:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Vidya Sakar 2012-08-18 02:38:01 UTC
+++ This bug was initially created as a clone of Bug #826021 +++

Description of problem:
If the slave is set up to restrict other machines from spawning the slave agent, it won't work the way it should. 

Version-Release number of selected component (if applicable):3.3.0qa43 


How reproducible:Always 


Steps to Reproduce:
1.On the slave machine, set up the restriction of file salve(i.e any directory as the slave) from any other machines except itself like this.

 - gluster volume geo-rep '/*' config allow-network  ::1, 127.0.0.1

2.Now start a geo-rep session from any machine as master and the /path/to/directory  as slave. 

  gluster volume geo-rep  <master> <slave-host>:/path/to/directory start 

3.This setup shouldn't succeed.
  
Actual results: The setup should go to faulty.


Expected results: It works fine.


Additional info:

--- Additional comment from vkoppad on 2012-05-29 07:52:43 EDT ---

Created attachment 587390 [details]
Slave gsyncd.conf file

Comment 3 Csaba Henk 2013-05-09 22:30:34 UTC
Marking as duplicate of original.

Fix is the same -- documentation should be updated.

*** This bug has been marked as a duplicate of bug 826021 ***


Note You need to log in before you can comment on or make changes to this bug.