[Openstack] [Swift] object-replicator errors

Shrinand Javadekar shrinand at maginatics.com
Tue Mar 31 00:24:15 UTC 2015


Hi,

I am seeing two types of errors by the object-replicator. I am running
Swift with a replication factor of 2. Every PUT request will be
required to wait till both copies of the data are written. Therefore,
I'd expect the replicator to not be doing too much work :-).

However, I see these rsync errors which are puzzling.

1. The first type of error is "No such file or directory". Are these
temporary files?

/var/log/syslog:Mar 30 07:17:50 server-name object-replicator: rsync:
stat "/r2/objects/601/84a/96429b63c21b9bd7c63217f609fcb84a/.1427699869.87035.data.FQ4llw"
(in object) failed: No such file or directory (2)
/var/log/syslog:Mar 30 07:17:50 server-name object-replicator: rsync:
rename "/r2/objects/601/84a/96429b63c21b9bd7c63217f609fcb84a/.1427699869.87035.data.FQ4llw"
(in object) -> "84a/96429b63c21b9bd7c63217f609fcb84a/1427699869.87035.data":
No such file or directory (2)

2. The second type of error is when rsync actually tries to make
copies but fails. Not sure why rsync is even in the picture.

/var/log/syslog.1:Mar 30 06:27:49 server-name object-replicator: rsync
error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1183) [sender=3.1.0]
/var/log/syslog.1:Mar 30 06:27:49 server-name 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/r2/objects/992/683', '/srv/node/r2/objects/992/eab',
'127.0.0.1::object/r7/objects/992']

Any ideas what might be causing this? How can these be fixed?

Thanks in advance.
-Shri




More information about the Openstack mailing list