Ask Your Question
0

object-replicator error with rsync

asked 2013-12-02 11:24:33 -0500

gura2013 gravatar image

My swift consist 3-storage node. and each node allocated 5disk. (1-account, 1-container, 3-object) almost operation is good. but i have some issue in object-replicator with rsync. (swift version 1.10.0 last released ) under the paste their log and rsyncd.conf

< object-replicator.log > object-replicator @ERROR: Unknown module 'object' object-replicator rsync error: error starting client-server protocol (code 5) at main.c(1503) [sender=3.0.6] object-replicator Bad rsync return code: 5 <- ['rsync', '--recursive', '--whole-file', '--human-readable', '--xattrs', '--itemize-changes', '--ignore-existing', '--timeout=30', '--contimeout=30', '--bwlimit=0', '/srv/3/node/sdb3/objects/140413/7b8', '211.43.212.149::object/sdb3/objects/140413']

< rsyncd.log > connect from 211.43.212.149 (211.43.212.149) unknown module 'object' tried from 211.43.212.149 (211.43.212.149)

< rsyncd.conf > [object6010] max connections = 25 path = /srv/2/node/ read only = false lock file = /var/lock/object6010.lock

[object6020] max connections = 25 path = /srv/3/node/ read only = false lock file = /var/lock/object6020.lock

[object6030] max connections = 25 path = /srv/4/node/ read only = false lock file = /var/lock/object6030.lock

///////

i tried rsync manually '211.43.212.149::object/sdb3/objects/140413' -> it is fail (unknown object) '211.43.212.149::object6010/sdb3/objects/140413' -> it is good work (object6010 or object6020.. .. the same name in rsyncd.conf)

in my think, the point is that "unknown module object" rsyncd.conf is distinguish between the different object path used different section like this [object6010], [object6020], [object6030]

but object-replicator try to replication just only 'object' i wonder that how can i set up to replicator module name or about someting solution

note that, when i have only one object-node then everything showen good working.

thx. have a good day.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2013-12-02 11:43:57 -0500

esedmehmet gravatar image

Hi,

Is rsync service running? Are you start rsync service?

edit flag offensive delete link more
0

answered 2013-12-03 01:22:13 -0500

gura2013 gravatar image

yes. rsync is running normality

i refer to setting rsync configuration of the SAIO install manaul ( http://docs.openstack.org/developer/swift/development_saio.html (http://docs.openstack.org/developer/s...) )

if only one object-node consist in a server then all operat normally but i don't know how can i set up muiltipul object-node in a server

how can object-replicator discriminate several rsync object module?

edit flag offensive delete link more
0

answered 2013-12-04 05:15:50 -0500

gura2013 gravatar image

solved problem myself

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-02 11:24:33 -0500

Seen: 557 times

Last updated: Dec 04 '13