[et-mgmt-tools] rhn reposync failing

Adrian Revill adrian.revill at shazamteam.com
Tue Jun 10 13:11:15 UTC 2008


I had a rhn reposync working with 0.8, but im now trying to set up 
cobbler 1.0.1-2 on a new server. As far as i can see the configuration 
is the same but when ever i run cobbler reposync i get

/# cobbler reposync
- creating: /var/www/cobbler/repo_mirror/.origin/rhel-x86_64-server-5.repo
- createrepo -c cache /var/www/cobbler/repo_mirror/rhel-x86_64-server-5

Saving Primary metadata
Saving file lists metadata
Saving other metadata
- creating: /var/www/cobbler/repo_mirror/rhel-x86_64-server-5/config.repo/

In /var/log/cobbler/cobbler.log all it says is
/2008-06-10 11:42:38,268 - api - reposync; [None]
/
I noticed it is not setting up the yum plugins, i have found that in 
earlier versions of /usr/bin/reposync the loading of plugins was hard 
coded on, but in the latest redhat version (yum-utils-1.1.10-9) it is a 
command line option (-l)

I have found a work around, edit /var/lib/cobbler/repos and add -l to 
the end of the arch: line

arch:  x86_64  -l

This then gets appended to the end of the command args that are passed 
to reposync by cobbler.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080610/69dd7821/attachment.htm>


More information about the et-mgmt-tools mailing list