Single repo, just those 12 packages have errors. (The repo it is syncing from 
is an internal server which grabs the files from the pub mirrors). Below is the 
output after clearing the contents of /var/cache/rhn/reposync/

[root@spacewalk-server ~]# spacewalk-repo-sync --channel centos6-x86_64-epel
07:52:37 ======================================
07:52:37 | Channel: centos6-x86_64-epel
07:52:37 ======================================
07:52:37 Sync of channel started.
07:52:37 Repo URL: http://repo-contoso.com/repos/centos/epel/6/
07:52:38 Packages in repo:              4858
07:53:14 Packages already synced:       2733
07:53:14 Packages to sync:                12
07:53:14 New packages to download:        12
07:53:14 1/12 : perl-CDB_File-0.97-1.el6.x86_64.rpm (failed)
07:53:14 2/12 : perl-File-Touch-0.08-2.el6.noarch.rpm (failed)
07:53:14 3/12 : perl-Module-Signature-0.78-1.el6.noarch.rpm (failed)
07:53:14 4/12 : perl-Crypt-Blowfish_PP-1.12-7.el6.noarch.rpm (failed)
07:53:14 5/12 : perl-DBD-Firebird-1.19-1.el6.x86_64.rpm (failed)
07:53:14 6/12 : perl-DBIx-RunSQL-0.12-2.el6.noarch.rpm (failed)
07:53:14 7/12 : perl-File-Edit-Portable-1.18-1.el6.noarch.rpm (failed)
07:53:14 8/12 : perl-Term-Size-0.207-6.el6.x86_64.rpm (failed)
07:53:14 9/12 : perl-Tangerine-0.16-1.el6.noarch.rpm (failed)
07:53:14 10/12 : perl-Tangerine-0.15-1.el6.noarch.rpm (failed)
07:53:14 11/12 : python-productmd-1.0-12.el6.noarch.rpm (failed)
07:53:14 12/12 : python-productmd-1.0-9.el6.noarch.rpm (failed)
Importing packages:     |##################################################| 
100.0%
07:53:15 Repo http://repo-contoso.com/repos/centos/epel/6/ has 0 errata.
07:53:15 Sync of channel completed in 0:00:37.
07:53:15 Total time: 0:00:37


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jirí Dostál
Sent: Monday, January 22, 2018 12:20 AM
To: [email protected]
Subject: Re: [Spacewalk-list] spacewalk-repo-sync stop working

Hello,

does this happen for a single or multiple repositories? At first, I'd try to 
refresh cache by cleaning content of '/var/cache/rhn/reposync/' 
and running spacewalk-repo-sync again.

Regards,

Jiri


Dne 20.1.2018 v 03:50 Afify, Sherif S (IBS) napsal(a):
> The spacewalk-repo-sync  was working fine and suddenly it start to give me 
> the below error .
>
>
>
> rhn]# spacewalk-repo-sync -c spacewalk-6-client-2.7-x86_64 -t yum 
> --verbose
> 20:40:03 ======================================
> 20:40:03 | Channel: spacewalk-6-client-2.7-x86_64
> 20:40:03 ======================================
> 20:40:03 Sync of channel started.
> Traceback (most recent call last):
>    File "/usr/bin/spacewalk-repo-sync", line 257, in <module>
>      sys.exit(abs(main() or 0))
>    File "/usr/bin/spacewalk-repo-sync", line 237, in main
>      force_all_errata=options.force_all_errata)
>    File 
> "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/reposync.py", 
> line 396, in __init__
>      self.checksum_cache = rhnCache.get(checksum_cache_filename)
>    File "/usr/lib/python2.7/site-packages/spacewalk/common/rhnCache.py", line 
> 76, in get
>      return cache.get(name, modified)
>    File "/usr/lib/python2.7/site-packages/spacewalk/common/rhnCache.py", line 
> 403, in get
>      return self.cache.get(name, modified)
>    File "/usr/lib/python2.7/site-packages/spacewalk/common/rhnCache.py", line 
> 374, in get
>      return cPickle.loads(pickled)
> EOFError
>
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list

--
Jiří Dostál | Associate Software Engineer Red Hat Satellite

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

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

Reply via email to