Anyone else using custom repos?  I have one setup for RPMForge according to the 
example spacewalk docs, and it does the same thing.  There is nothing in 
/var/cache/rhn/repodata/<channel>, except for the Base OS and the Updates 
channel.  I create the links but then still can't download packages via yum, 
but I discovered tonight that it will let you download packages via the web 
interface, so not sure why web knows how to find them yet yum can't.

Any ideas where to even look?  Logs don't appear to show anything related 
except http logs showing the get coming in, appears to go off to tomcat, a 
Download*.do command, but I don't see any errors in catalina.out.

Any help appreciated, only thing keep this guy from being production at this 
point :(

Oh, and yes, I have tried deleting and re-creating the channels and nothing 
helps, only the ones I'm trying to sync from local yum repo fail, even ones 
done "by the book"

Dan


On May 6, 2010, at 2:34 PM, Daniel Wittenberg wrote:

> We have a local repo with custom packages and I wanted to push that through 
> spacewalk instead of direct.  So I setup a new channel, but since I'm doing a 
> custom sync of EPEL and RPMForge I did this the same way.  In my cron script 
> I added:
> 
> cd /var/www/html/pub/centos/custom-64
> createrepo /var/www/html/pub/centos/custom-64 > /dev/null
> /usr/bin/spacewalk-repo-sync --channel custom-64 --url 
> file:///var/www/html/pub/centos/custom-64/ --type yum 
> 
> Then if I add that channel to a client, it complains it can't find the 
> repodata.  So I looked in /var/cache/rhn/repodata and sure enough, no info on 
> the custom channel. I tried to symlink it over to the 
> /var/www/html/pub/centos/custom-64/repodata which then made the client happy, 
> sorta.  If I try and actually install something it tells me that it can't 
> find the package.
> 
> So it seems like for some reason when I added this channel everything is ok, 
> but spacewalk-repo-sync isn't creating the repo internally correctly ?
> 
> Ideas on where else to check?
> 
> Thanks!
> Dan


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to