Ask Your Question
1

how to set up rsync for swift on CentOS? [closed]

asked 2013-09-19 15:18:28 -0500

henry1987 gravatar image

updated 2013-09-24 18:47:45 -0500

smaffulli gravatar image

I tried to follow the OpenStack installation guide to install Object Storage. After I configured the /etc/rsyncd.conf and change disable=yes to disable=no (/etc/xinetd.d/rsync) and restart xinetd, I could not get rsync working

I installed on CentOS 6.3 not Ubuntu (For ubuntu, I got a 7 nodes Swift cluster working like a charm)

The command I ran

rsync rsync://pub@localhost/

The error message I got in /var/log/rsyncd.log

2013/09/19 13:53:44 [7283] rsync: getpeername on fd0 failed: Transport endpoint  is not connected (107)
2013/09/19 13:53:44 [7283] rsync error: error in socket IO (code 10) at clientnaame.c(171) [receiver=3.0.6]
2013/09/19 13:53:44 [7284] rsync: getpeername on fd0 failed: Transport endpoint is not connected (107)
2013/09/19 13:53:44 [7284] rsync error: error in socket IO (code 10) at clientnaame.c(171) [receiver=3.0.6]

The command line output from the above command is:

[root@snode01c node]# rsync rsync://pub@localhost/
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.6]

Can any one help with the instruction about how to set up rsync for swift on CentOS?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2013-11-11 06:40:00.371629

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-09-25 09:28:15 -0500

clayg gravatar image

Check that rsync 873/tcp is in /etc/services

Check that you're not blocked by /etc/hosts.deny

Try rsync rsync://<ip of node in the ring>

Note: no pub@

edit flag offensive delete link more

Comments

setenforce permissive

henry1987 gravatar imagehenry1987 ( 2013-10-04 10:47:58 -0500 )edit
0

answered 2013-10-28 11:44:15 -0500

henry1987 gravatar image

while setting up rsync, I need to configure iptables to open port 873 on CentOS to all peer storage nodes. I also did "setenforce permissive"

edit flag offensive delete link more

Comments

Thanks @henry1987 you answered it yourself. I am closing this one. Cheers!! Atul

koolhead17 gravatar imagekoolhead17 ( 2013-11-11 06:39:42 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-19 15:18:28 -0500

Seen: 1,812 times

Last updated: Sep 25 '13