SUSE Manager channel sync problems
This document (7014059) is provided subject to the disclaimer at the end of this document.
SUSE Manager 1.2
By default yum uses an internal 30 second timeout value to access / download files from a given repository. This timeout might get hit soon on busy servers. To increase the time please create /etc/rhn/spacewalk-repo-sync/yum.conf with the following content:
[main]The <value> taken by timeout is in seconds, so timeout=300 would increase the yum timeout to 5 minutes which should allow enough time to finish the sync on a repository. Please monitor the behavior of the sync process and adjust the value if necessary. Also keep in mind that cloning channels from a repository where not all patches have been synced properly may cause problems to your test / staging / production environment.
See man 5 yum.conf or man spacewalk-repo-sync for more details.
In any /var/log/rhn/reposync/*.log a message similar to the following appears:
Repo Sync Errors: (50, u'checksums did not matchPlease run a manual repo sync using
afd8c60d7908b2b0e2d95ad0b333920aea9892eb', 'Invalid information uploaded
to the server')
The package microcode_ctl-1.17-220.127.116.11.x86_64 which is referenced by
patch microcode_ctl-8413 was not found in the database. This patch has
spacewalk-repo-sync --channel <channelname> --type yum -YThe -Y will run a deepverify on the repository data and not use locally cached checksums - this process may take some time depending on the size of the repository and its content.
Debugging connection problems
In case the above recommended settings do not solve the issue, please run:
spacewalk-repo-sync -c <channelname> <options> > /var/log/spacewalk-repo-sync-$(date +%F-%R).log 2>&1
to check whether the communication encounters any problem.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/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:7014059
- Creation Date:07-NOV-13
- Modified Date:24-FEB-14
- SUSESUSE Manager
Did this document solve your problem? Provide Feedback