Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Swift rync failing

I have a three node swift setup running kolla queens swift containers. After provisioning, the swift logs display this error :

2018-08-01T20:58:23Z syslog.local0.err
{"Payload":"swift-object-replicator: Bad rsync return code: 5 <- ['rsync', '--recursive', '--whole-file', '--human-readable', '--xattrs', '--itemize-changes', '--ignore-existing', '--timeout=30', '--contimeout=30', '--bwlimit=0', '--exclude=.*.[0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z]', u'/srv/node/d1/objects/579/34a', u'']\u0000","log_level":"err","Hostname":"server2.local","programname":"swift"} 2018-08-01T20:58:23Z syslog.local0.err
{"Payload":"swift-object-replicator: @ERROR: setgroups failed\u0000","log_level":"err","Hostname":"server2.local","programname":"swift"}

I am trying to upload a large file to a container using segments. This happens when I then try to issue copy on the manifest file but the copy command fails because the nodes are not synced properly. Can someone please help as to what configuration needs to be changed to make sure the all the nodes are syncing properly.