I'm trying to replicate from cobbler1 (my master server) to cobbler2 (a non-master server).
The problem seems to be that cobbler1:/var/lib/cobbler/config/distros.d/5Server-x86_64.json is not being rsync'ed over to cobbler2. Some background information: I created the distro on cobbler1 by doing the following: # mkdir -p /usr/distros/5Server-x86_64 # cd /usr/distros/5Server-x86_64 # wget http://myrepo/mrepo/5Server-x86_64/disc1/images/pxeboot/vmlinuz # wget http://myrepo/mrepo/5Server-x86_64/disc1/images/pxeboot/initrd.img # cobbler distro add --name=5Server-x86_64 \ --kernel=/usr/distros/5Server-x86_64/vmlinuz \ --initrd=/usr/distros/5Server-x86_64/initrd.img \ --ksmeta="tree=http://myrepo/mrepo/5Server-x86_64" I don't use "cobbler import" because it copies over the entire distribution content and I have limited HDD space. Is there a workaround for this issue? If I copy /var/lib/cobbler/config/distros.d/5Server-x86_64.json to cobbler2 everything looks good, but manually copying things over defeats the purpose of the replicate command. The error I'm getting is "Failed to copy distro 5Server-x86_64, content not here yet." cobbler1# cobbler list distro 5Server-x86_64 profile 5Server-x86_64-profile system 5Server-x86_64-system repo 5Server-x86_64-all repo 5Server-x86_64-dag repo 5Server-x86_64-dag-all repo 5Server-x86_64-epel repo 5Server-x86_64-fastrack repo 5Server-x86_64-int repo 5Server-x86_64-ops repo 5Server-x86_64-ops-test repo 5Server-x86_64-os repo 5Server-x86_64-prod repo 5Server-x86_64-qa repo 5Server-x86_64-stage repo 5Server-x86_64-supplementary repo 5Server-x86_64-updates cobbler2# cobbler replicate --master=cobbler1 --full-data-sync XMLRPC endpoint: http://cobbler1/cobbler_api ----- Copying Distros ----- Rsyncing Distribution Trees - rsync -avz cobbler1:/var/www/cobbler/ks_mirror /var/www/cobbler receiving file list ... done sent 20 bytes received 86 bytes 70.67 bytes/sec total size is 0 speedup is 0.00 Importing remote distro 5Server-x86_64. Failed to copy distro 5Server-x86_64, content not here yet. <------------------------ HERE'S THE PROBLEM!!!!!!!!!!!!!!!!!! ----- Rsyncing Package Mirrors - rsync -avz cobbler1:/var/www/cobbler/repo_mirror /var/www/cobbler receiving file list ... done sent 20 bytes received 88 bytes 216.00 bytes/sec total size is 0 speedup is 0.00 ----- Rsyncing kickstart templates & snippets - rsync -avz cobbler1:/var/lib/cobbler/kickstarts /var/lib/cobbler receiving file list ... done sent 20 bytes received 451 bytes 942.00 bytes/sec total size is 56116 speedup is 119.14 - rsync -avz cobbler1:/var/lib/cobbler/snippets /var/lib/cobbler receiving file list ... done sent 20 bytes received 1365 bytes 2770.00 bytes/sec total size is 42074 speedup is 30.38 ----- Copying Repos Importing remote repo 5Server-x86_64-all. Copied repo 5Server-x86_64-all. Importing remote repo 5Server-x86_64-dag. Copied repo 5Server-x86_64-dag. Importing remote repo 5Server-x86_64-dag-all. Copied repo 5Server-x86_64-dag-all. Importing remote repo 5Server-x86_64-epel. Copied repo 5Server-x86_64-epel. Importing remote repo 5Server-x86_64-fastrack. Copied repo 5Server-x86_64-fastrack. Importing remote repo 5Server-x86_64-int. Copied repo 5Server-x86_64-int. Importing remote repo 5Server-x86_64-ops. Copied repo 5Server-x86_64-ops. Importing remote repo 5Server-x86_64-ops-test. Copied repo 5Server-x86_64-ops-test. Importing remote repo 5Server-x86_64-os. Copied repo 5Server-x86_64-os. Importing remote repo 5Server-x86_64-prod. Copied repo 5Server-x86_64-prod. Importing remote repo 5Server-x86_64-qa. Copied repo 5Server-x86_64-qa. Importing remote repo 5Server-x86_64-stage. Copied repo 5Server-x86_64-stage. Importing remote repo 5Server-x86_64-supplementary. Copied repo 5Server-x86_64-supplementary. Importing remote repo 5Server-x86_64-updates. Copied repo 5Server-x86_64-updates. ----- Copying Profiles Importing remote profile 5Server-x86_64-profile profile is missing distribution: 5Server-x86_64-profile, 5Server-x86_64 Failed to copy profile 5Server-x86_64-profile. ----- Copying Images ----- Rsyncing triggers - rsync -avz cobbler1:/var/lib/cobbler/triggers /var/lib/cobbler receiving file list ... done sent 20 bytes received 525 bytes 363.33 bytes/sec total size is 0 speedup is 0.00 ----- Syncing profile 5Server-x86_64-profile references a missing distro 5Server-x86_64 Note that the repos transferred as well as all the snippets and triggers. It's just the distro that doesn't get transferred. cobbler2# cobbler list repo 5Server-x86_64-all repo 5Server-x86_64-dag repo 5Server-x86_64-dag-all repo 5Server-x86_64-epel repo 5Server-x86_64-fastrack repo 5Server-x86_64-int repo 5Server-x86_64-ops repo 5Server-x86_64-ops-test repo 5Server-x86_64-os repo 5Server-x86_64-prod repo 5Server-x86_64-qa repo 5Server-x86_64-stage repo 5Server-x86_64-supplementary repo 5Server-x86_64-updates _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
