SUSE Manager/DebugReposync

From MicroFocusInternationalWiki
Revision as of 13:46, 11 June 2015 by Mcalmer (Talk | contribs) (How to debug spacewalk-repo-sync problems?)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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