SUSE Manager/DebugReposync

From MicroFocusInternationalWiki
Jump to: navigation, search

How to debug spacewalk-repo-sync problems?

  [Errno 256] No more mirrors to try.

To find the root cause of such problems it is very helpful to view the HTTP protocol if spacewalk-repo-sync is running. To achieve this, execute the following:

   $> export URLGRABBER_DEBUG=DEBUG
   $> /usr/bin/spacewalk-repo-sync --channel <channel-label> --type yum

To disable the debug mode of spacewalk-repo-sync, execute :

   $> unset URLGRABBER_DEBUG