(Using cobbler 2.0.11, downloaded from epel, on RHEL 5.6)
I'm trying for the first time to use "cobbler replicate" on a potential slave machine to fetch files from a cobbler master. It fails quickly with various "rsync" errors.
Although the server end permits rsync to be spawned as an xinetd daemon, the server has no "/etc/rsyncd.conf". I've found a file called "/etc/cobbler/rsync.template", which looks promising, and when I simply copy that into place as"/etc/rsyncd.conf" things looks much healthier.
Two things:
1. I suggest there is a bug: shouldn't there be something on the master, either during installation or at each "cobbler sync", that creates this file?
2. The template file on the master contains: #for repo in $repos: [repo-$repo] path = $webdir/repo_mirror/$repo comment = Cobbler Repo $repo #end for
and a similar-looking "distro" clause. These look as though they need unrolling (as part of the installation or "cobbler sync", as above) into the final "/etc/rsyncd.conf". Is there a command I can run that will take the template as input, unpack those loop-looking things, and produce the final file as output?
On 10/7/2011 8:52 AM, David Lee wrote:
(Using cobbler 2.0.11, downloaded from epel, on RHEL 5.6)
I'm trying for the first time to use "cobbler replicate" on a potential slave machine to fetch files from a cobbler master. It fails quickly with various "rsync" errors.
I ran into this before. In /etc/cobbler/settings, do you have manage_rsync set to 1?
If you don't, try:
* Setting manage_rsync to 1 * Restart cobblerd * Run cobbler sync
And then see if this fixes the issue. I'm pretty sure this is what I went through to fix it but it's been weeks since then.
--CAE
Chris Ess wrote:
On 10/7/2011 8:52 AM, David Lee wrote:
(Using cobbler 2.0.11, downloaded from epel, on RHEL 5.6)
I'm trying for the first time to use "cobbler replicate" on a potential slave machine to fetch files from a cobbler master. It fails quickly with various "rsync" errors.
I ran into this before. In /etc/cobbler/settings, do you have manage_rsync set to 1?
If you don't, try:
- Setting manage_rsync to 1
- Restart cobblerd
- Run cobbler sync
And then see if this fixes the issue. I'm pretty sure this is what I went through to fix it but it's been weeks since then. [...]
Yes! That's solved that problem. Many thanks.
(I'm still near the bottom of a steep learning curve on all this.)
cobbler@lists.fedorahosted.org