FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 06-10-2008, 01:11 PM
Adrian Revill
 
Default rhn reposync failing

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@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 06-10-2008, 02:24 PM
Michael DeHaan
 
Default rhn reposync failing

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@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




_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 05:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org