spacewalk-repo-sync fails with RepoError: Cannot retrieve repository metadata (repomd.xml) for repository
This document (7017920) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Manager 3
Situation
../rhn/reposync/<reponame>:
Sync started: Thu Aug 4 12:13:51 2016
['/usr/bin/spacewalk-repo-sync', '-c', '<reponame>', '--url=http://<reposerver>/<reponame>/']
RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: <reponame>. Please verify its path and try again
Resolution
Cause
/etc/rhn/spacewalk-repo-sync/yum.conf contains proxy settings. Tracing would show:
strace -s 256 -o reposync.trace spacewalk-repo-sync...
recvfrom(10, "HTTP/1.1 502 Proxy Error ( No data record is available. )\r\n\r\nConnection: close\r\nProxy-Connection: close\r\nPragma:
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7017920
- Creation Date: 05-Aug-2016
- Modified Date:03-Mar-2020
-
- SUSE Manager
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com