[et-mgmt-tools] rhn reposync failing
Michael DeHaan
mdehaan at redhat.com
Tue Jun 10 14:24:07 UTC 2008
Adrian Revill wrote:
> 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.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
Yes, apparently yum-utils changed. As we pretty much need the new
version for this functionality, I'll add this.
Thanks!
--Michael
More information about the et-mgmt-tools
mailing list