[Spacewalk-list] spacewalk-repo-sync fails after exhausting disk space

Michael Mraka michael.mraka at redhat.com
Thu Jan 18 14:49:42 UTC 2018


Jameson Pugh:
> It seems I've gotten myself into a bit of a pickle. I originally set up SpaceWalk with /var/satellite on the same volume as /, but thought I had separated it. During a repo sync, it filled up. I set up new volume, moved the data, and mounted it to /var/satellite. After running restorecon -R /var/satellite, I still can't update repos. spacewalk-data-fsck has also not helped. This is what I'm getting:
> 
> # spacewalk-repo-sync -c centos-7
> 09:01:31 ======================================
> 09:01:31 | Channel: centos-7
> 09:01:31 ======================================
> 09:01:31 Sync of channel started.
> Traceback (most recent call last):
>   File "/bin/spacewalk-repo-sync", line 257, in <module>
>     sys.exit(abs(main() or 0))
>   File "/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

Hello Jameson,

Try to remove file from /var/cache/rhn/reposync and /var/cache/rhn/satsync.

> Thanks in advance for any guidance you can provide.
> --
> Jameson Pugh
> System Administrator, Technical Services
> www.nghs.com

Regards,

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




More information about the Spacewalk-list mailing list