Cobbler should generate a usable /etc/rsyncd.conf file but doesn't

Bug #809218 reported by David Dyball
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

`cat /etc/lsb-release`

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"

`apt-cache policy cobbler`

cobbler:
  Installed: 2.1.0-0ubuntu7
  Candidate: 2.1.0-0ubuntu7
  Version table:
 *** 2.1.0-0ubuntu7 0
        500 http://gb.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status

Expected:

In order to make use of the cobbler replicate feature to sync between two cobbler servers, Cobbler is supposed to generate a usable /etc/rsyncd.conf file based on /etc/cobbler/rsyncd.template. A fresh install of Cobbler does not generate this file at all on an Ubuntu system. I don't run RHEL or CentOS cobbler instances so I can't confirm whether or not this is Ubuntu specific though.

What Happens:

The documentation for cobbler says that the Rsync ops should be handled over SSH or scp, but this is not the case at all as it tries to connect to the non-existent Rsync server on the master when trying to sync, which fails.

Workaround:

Manually building the config for rsyncd.conf using the template as a guide works without issue it just appears that cobbler never tries to generate it during `cobbler sync` or a restart of cobbler.

Revision history for this message
Dave Walker (davewalker) wrote :

Thanks for raising this bug, this sounds like something that could be achieved. Marking confirmed and wish list.

Thanks.

Changed in cobbler (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
jdfalk (johnathan-falk) wrote :

Add 'manage_rsync: 1' in /etc/cobbler/settings. After you do that it will automatically manage it for you. It won't restart it but it will create the config.

Revision history for this message
Nish Aravamudan (nacc) wrote :

This is fixed in Yakkety, if you specify Cobbler manages rsync.

Changed in cobbler (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.