Hi All, I tried to would like to use cobbler sync but unfortunately I'm not able to rsync my only distro. Everything will be synced but for the distro I got an @ERROR: Unknown module. I also miss --delete option in rsync because otherwise files deleted on the master won't be deleted on the slave. Is there also a way to tunnel rsync through ssh?
The output looks like this. [root@slave ks_mirror]# cobbler replicate --master=master --distros=centos62-minimal-x86_64 --prune task started: 2012-05-08_082341_replicate task started (id=Replicate, time=Tue May 8 08:23:41 2012) cobbler_master = master profile_patterns = [] system_patterns = [] omit_data = False sync_all = False using CLI defined master XMLRPC endpoint: http://master/cobbler_api test ALPHA test BETA Querying Both Servers remote names struct is {'profile': [], 'repo': [], 'image': [], 'distro': ['centos62-minimal-x86_64']} * Finding Explicit distro Matches ?: seeing if centos62-minimal-x86_64 looks like centos62-minimal-x86_64 * Finding Explicit profile Matches * Finding Explicit repo Matches * Finding Explicit image Matches * Adding Profiles Required By Systems * Adding Profiles Required By SubProfiles * Adding Distros Required By Profiles * Adding Repos Required By Profiles * Adding Images Required By Systems transfer list for distro is ['centos62-minimal-x86_64'] transfer list for profile is [] transfer list for repo is [] transfer list for image is [] Removing Objects Not Stored On Master Rsyncing distros running: rsync -avzH master::distro-centos62-minimal-x86_64 /var/www/cobbler/ks_mirror/centos62-minimal-x86_64 received on stdout: received on stderr: @ERROR: Unknown module 'distro-centos62-minimal-x86_64' rsync error: error starting client-server protocol (code 5) at main.c(1530) [receiver=3.0.6] rsync failed Rsyncing repos Rsyncing distro repo configs running: rsync -avzH master::cobbler-distros/config /var/www/cobbler/ks_mirror received on stdout: receiving incremental file list sent 38 bytes received 66 bytes 208.00 bytes/sec total size is 0 speedup is 0.00 received on stderr: Rsyncing kickstart templates & snippets running: rsync -avzH master::cobbler-kickstarts /var/lib/cobbler/kickstarts received on stdout: receiving incremental file list sent 40 bytes received 174 bytes 428.00 bytes/sec total size is 9848 speedup is 46.02 received on stderr: running: rsync -avzH master::cobbler-snippets /var/lib/cobbler/snippets received on stdout: receiving incremental file list sent 38 bytes received 779 bytes 1634.00 bytes/sec total size is 57183 speedup is 69.99 received on stderr: Rsyncing triggers running: rsync -avzH master::cobbler-triggers /var/lib/cobbler/triggers received on stdout: receiving incremental file list sent 90 bytes received 964 bytes 702.67 bytes/sec total size is 0 speedup is 0.00 received on stderr: Adding Objects Not Stored On Local adding distro centos62-minimal-x86_64 Updating Objects Newer On Remote Syncing Done *** TASK COMPLETE *** Thank you very much for your help. Manuel
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
