Ask Your Question
0

Object replication errors (no such file)

asked 2013-11-12 10:55:23 -0500

hettbox gravatar image

Hi, I noticed that after adding a new node in the ring, the first time a lot of errors: (especially at the new node)

Nov 12 10:45:32 str-13 object-replicator 2242/2242 (100.00%) partitions replicated in 13.28s (168.77/sec, 0s remaining) Nov 12 10:45:32 str-13 object-replicator 5605 suffixes checked - 0.11% hashed, 0.04% synced Nov 12 10:45:32 str-13 object-replicator Partition times: max 0.6105s, min 0.0020s, med 0.0038s Nov 12 10:45:32 str-13 object-replicator Object replication complete. (0.22 minutes) Nov 12 10:46:02 str-13 object-replicator Starting object replication pass. Nov 12 10:46:11 str-13 object-replicator <f+++++++++ 396="" 5cc43ae4a2ecaa4224f5597cafb99396="" .1382035535.87036.data.vrk8uz="" nov="" 12="" 10:46:11="" str-13="" object-replicator="" rsync:="" stat="" "="" sdaf1="" objects="" 94992="" 396="" 5cc43ae4a2ecaa4224f5597cafb99396="" ..1382035535.87036.data.vrk8uz.oqermm"="" (in="" object)="" failed:="" no="" such="" file="" or="" directory="" (2)="" nov="" 12="" 10:46:11="" str-13="" object-replicator="" rsync:="" rename="" "="" sdaf1="" objects="" 94992="" 396="" 5cc43ae4a2ecaa4224f5597cafb99396="" ..1382035535.87036.data.vrk8uz.oqermm"="" (in="" object)="" -=""> "396/5cc43ae4a2ecaa4224f5597cafb99396/.1382035535.87036.data.VrK8uZ": No such file or directory (2) Nov 12 10:46:11 str-13 object-replicator rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9] Nov 12 10:46:11 str-13 object-replicator Bad rsync return code: 23 <- ['rsync', '--recursive', '--whole-file', '--human-readable', '--xattrs', '--itemize-changes', '--ignore-existing', '--timeout=30', '--contimeout=30', '--bwlimit=0', '/srv/node/sdw1/objects/94992/396', '10.10.2.11::object/sdaf1/objects/94992'] Nov 12 10:46:39 str-13 object-replicator <f+++++++++ 337="" 66dc0793b64c26ec0001fe55e95c4337="" .1379859825.20529.data.svt6u6="" nov="" 12="" 10:46:39="" str-13="" object-replicator="" rsync:="" stat="" "="" sdo1="" objects="" 105328="" 337="" 66dc0793b64c26ec0001fe55e95c4337="" ..1379859825.20529.data.svt6u6.i9vwrc"="" (in="" object)="" failed:="" no="" such="" file="" or="" directory="" (2)="" nov="" 12="" 10:46:39="" str-13="" object-replicator="" rsync:="" rename="" "="" sdo1="" objects="" 105328="" 337="" 66dc0793b64c26ec0001fe55e95c4337="" ..1379859825.20529.data.svt6u6.i9vwrc"="" (in="" object)="" -=""> "337/66dc0793b64c26ec0001fe55e95c4337/.1379859825.20529.data.SVt6u6": No such file or directory (2) Nov 12 10:46:39 str-13 object-replicator rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9] Nov 12 10:46:39 str-13 object-replicator Bad rsync return code: 23 <- ['rsync', '--recursive', '--whole-file', '--human-readable', '--xattrs', '--itemize-changes', '--ignore-existing', '--timeout=30', '--contimeout=30', '--bwlimit=0', '/srv/node/sdab1/objects/105328/337', '10.10.2.10::object/sdo1/objects/105328']

why this might be?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-11-13 14:42:20 -0500

esedmehmet gravatar image

Hi,

you should change max connections in /etc/rsyncd.conf. after you should restart rsync services.

Example rsyncd.conf

cat >/etc/rsyncd.conf <<eof uid="swift" gid="swift" log="" file="/var/log/rsyncd.log" pid="" file="/var/run/rsyncd.pid" address="$STORAGE_NODE(1,2,3)_IP&lt;/p">

[account] max connections = 2 path = /srv/node/ read only = false lock file = /var/lock/account.lock

[container] max connections = 2 path = /srv/node/ read only = false lock file = /var/lock/container.lock

[object] max connections = 2 path = /srv/node/ read only = false lock file = /var/lock/object.lock EOF

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-11-12 10:55:23 -0500

Seen: 334 times

Last updated: Nov 13 '13