[Spacewalk-list] Problem Sync'ing a new Channel in Spacewalk.

Waldirio Manhães Pinheiro waldirio at gmail.com
Wed Nov 12 19:21:21 UTC 2014


Marc, good afternoon

Works in my environment, maybe your problem was network connection in the
moment of sync. Take a look bellow

###
[root at spacewalk ~]# rhn-satellite-exporter --list-channels
Channel List:
B = Base Channel
C = Child Channel

B centos65-base-x86_64


[root at spacewalk ~]# spacewalk-repo-sync --channel centos65-base-x86_64
--url http://mirror.centos.org/centos/6/os/x86_64/ --type yum
#### Channel label: centos65-base-x86_64 ####
Repo URL: http://mirror.centos.org/centos/6/os/x86_64/
Packages in repo:              6518
Packages already synced:          0
Packages to sync:              6518
1/6518 : krb5-libs-1.10.3-33.el6-0.x86_64
2/6518 : gprolog-1.3.1-6.el6-0.x86_64
3/6518 : dos2unix-3.1-37.el6-0.x86_64
4/6518 : libipathverbs-static-1.3-3.el6-0.x86_64
5/6518 : perl-XML-Twig-3.34-1.el6-0.noarch
6/6518 : hunspell-ne-20080425-1.1.el6-0.noarch
7/6518 : samba-winbind-clients-3.6.23-12.el6-0.i686
^C
User interrupted process.
[root at spacewalk ~]#
###

Although, if you are using a minor release (5) of 6.5 in this case, I
recommend you to sync from http://mirror.globo.com/centos/6.5/os/x86_64/

Another point is, you can define the spacewalk to sync for you (I'm not
sure if you are just forcing bu cli or preparing the command to add in your
crontab for example), just setting in webui, the taskomatic will do this
hard work for you! ;-)

Let me know if you have another question or about the same.

Take Care



______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com
Skype: waldirio
Site: www.waldirio.com.br
Blog: blog.waldirio.com.br
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html

On Wed, Nov 12, 2014 at 4:40 PM, Szabo, Marc <Marc.Szabo at priceline.com>
wrote:

>  Hello all,
>
>
>
> I’m new to spacewalk and I’m in the process of setting up a spacewalk
> server.  I believe that I successfully created the Channel (labeled:
> centos65-base-x86_64) and Repository (centos65-base-x86_64) and linked them
> via Manage Software Channels.  Now I’m trying to sync the repository from
> CentOS URL and I get the following error message:
>
>
>
> [root at nw-spcwlk-201 ~]# spacewalk-repo-sync --channel
> centos65-base-x86_64 --url http://mirror.centos.org/centos/6/os/x86_64/
> --type yum
>
> #### Channel label: centos65-base-x86_64 ####
>
> Repo URL: http://mirror.centos.org/centos/6/os/x86_64/
>
> ERROR: Cannot retrieve repository metadata (repomd.xml) for repository:
> centos65-base-x86_64. Please verify its path and try again
>
> Sync completed.
>
> Total time: 0:01:00
>
>
>
> What am I missing?
>
>
>
> Thank you.
>
>
>
> Marc Szabo
>
> Sr. Unix Administrator
>
> (203) 299-8329
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141112/1182e7b8/attachment.htm>


More information about the Spacewalk-list mailing list