[Csync2] csync2 doesn't handle deletes?

Dustin Mitchell dustin at mozilla.com
Wed Jun 27 23:14:48 CEST 2012


So, I have four hosts with csync2 synchronizing between the bunch of them.  The config is pretty simple:

group puppetagain-data-root {
    host relabs-puppet.build.mtv1.mozilla.com;
    host releng-puppet1.build.mtv1.mozilla.com;
    host releng-puppet1.build.scl1.mozilla.com;
    host releng-puppet1.srv.releng.scl3.mozilla.com;
    key /etc/csync2/keys/puppetagain-data-root.key;
    include /data;
    auto first;
}

I deleted a bunch of test files (among them /data/python/public and /data/cgi-bin) on the first host, and now when I run csync2 there, I get:

----
root at relabs-puppet /data # csync2 -u -G puppetagain-data-root
I/O Error 'No such file or directory' in rsync-check: /data/python/public/NOTSECRET

While syncing file /data/python/public:

ERROR from peer(/data/python/public): releng-puppet1.srv.releng.scl3.mozilla.com octet-stream 12

While syncing file /data/python/private/SEKRITS:

ERROR from peer(/data/python/private/SEKRITS): releng-puppet1.srv.releng.scl3.mozilla.com rs6
I/O Error 'No such file or directory' in rsync-check: /data/cgi-bin/getcert.cgi

While syncing file /data/cgi-bin:

ERROR from peer(/data/cgi-bin): releng-puppet1.srv.releng.scl3.mozilla.com octet-stream 0

Format-error while receiving data.
----

I've tried re-running csync2 -cr / and csync2 -u on the other hosts.  Both run without error, but the above error persists on relabs-puppet.build.mtv1.mozilla.com.

This isn't exactly filling me with confidence!  What can I do to (a) fix this and (b) ensure that deleting files (or was it that I deleted directories?) doesn't do this next time?

Thanks!
Dustin


More information about the Csync2 mailing list