When executing a daily sync plan, the synchronization process freezes with "Sync Incomplete" with log file error "foreman/production.log-20141118:PLP0000: [Errno 17] File exists (Katello::Errors::PulpError)". The error occurs when the downloaded packages are being verified wherein the checksum_type is being reported as SHA while pulp explicitly handles SHA1. To fix this issue, the verification process returns the "SHA" value to "SHA1" to comply with pulp requirements.
Description of problem:
I am unable to sync certain repos on multiple Satellite instances. They all look to have in common the error, "foreman/production.log-20141118:PLP0000: [Errno 17] File exists (Katello::Errors::PulpError)"
Version-Release number of selected component (if applicable):
pulp-server-2.4.3-1 and pulp-server-2.4.1-0.7.beta
How reproducible:
It appears to be happening on 4 different instances. I'm not sure how it started. There is a daily sync plan on all of them that at some point probably started to fail. The afflicted repos are stuck as 'Sync Incomplete'
Steps to Reproduce:
1. Install Satellite 6
2. Sync Content
3. Set up a daily sync plan. At some point I guess the problem will manifest
Actual results:
Repos stuck in 'Sync Incomplete' status. Errors in the log that File exists
Expected results:
Repos sync normally
Additional info:
Comment 5RHEL Program Management
2014-11-18 19:23:30 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
FAILEDQA
*** This bug is failing in upstream. This fix should eventually land in future downstream builds ***
Version Tested:
# rpm -q foreman
foreman-1.8.0-0.develop.201412181705git9e844ba.el7.noarch
Screen-shot attached
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2015:0054