[Spacewalk-list] Syncing the ovirt yum repo?

Michael Mraka michael.mraka at redhat.com
Thu May 4 08:18:08 UTC 2017


Steve Meier:
> Hi Rob,
> 
> that's right. The repodata directory is mandatory and not present for
> each architecture, which I believe it should be.
> 
> In this case your best bet maybe to use something like wget to
> fetch all the RPMs from that directory and then run rhnpush to
> put them into your Spacewalk channel.

You can also set a filter for the repository.
Go to Channels > Manages Software Channels > Manage Repositories,
click on the repository name and set Filter to '*.x86_64'.
This should limit your repository to download x86_64 packagges only.

Regards,

> Kind regards,
>   Steve
> 
> Am 2017-05-02 18:15, schrieb Rob Sterenborg:
> >Hi Steve,
> >
> >I've cleaned up the unlinked packages, changed the URL to include
> >x86_64 and synced again, but it doesn't work:
> >
> >2017/05/02 17:58:21 +02:00 Command: ['/usr/bin/spacewalk-repo-sync',
> >'--channel', 'centos-7-ovirt-4-x64', '--type', 'yum']
> >2017/05/02 17:58:21 +02:00 Sync of channel started.
> >2017/05/02 17:58:21 +02:00 Repo URL:
> >http://ftp.nluug.nl/os/Linux/virtual/ovirt/ovirt-4.0/rpm/el7/x86_64
> >2017/05/02 17:58:22 +02:00 Sync of channel completed in 0:00:00.
> >
> >AFAIK there needs to be a repodata directory to be able to sync a yum
> >repo. This directory does not exist in x86_64, but it does in el7.
> >Which unfortunately also holds directories for other architectures.
> >It's the same here: http://resources.ovirt.org/pub/ovirt-4.0/rpm/el7/
> >
> >It looks like I'm going to need to download everything in the x86_64
> >directory to some local server, create the repodata, and sync
> >Spacewalk from there. But that.. does not feel like an optimal
> >solution.
> >
> >
> >Thanks,
> >Rob
> >
> >
> >-----Original Message-----
> >From: Steve Meier [mailto:email at steve-meier.de]
> >Sent: dinsdag 2 mei 2017 14:45
> >To: spacewalk-list at redhat.com
> >Cc: Rob Sterenborg <r.sterenborg at netmatch.nl>
> >Subject: Re: [Spacewalk-list] Syncing the ovirt yum repo?
> >
> >Hi Rob,
> >
> >you can't put packages for multiple architectures into the same
> >channel.
> >
> >To limit your sync to only x86_64 packages (which is likely what you
> >need)
> >change your repo URL to include x86_64 like this:
> >
> >http://ftp.nluug.nl/os/Linux/virtual/ovirt/ovirt-4.0/rpm/el7/x86_64/
> >
> >Hope this helps.
> >
> >Kind regards,
> >   Steve
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

--
Michael Mráka
System Management Engineering, Red Hat




More information about the Spacewalk-list mailing list