Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1165301 - PLP0000: [Errno 17] File exists (Katello::Errors::PulpError) trying to sync repos on multiple instances
Summary: PLP0000: [Errno 17] File exists (Katello::Errors::PulpError) trying to sync r...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Tazim Kolhar
URL:
Whiteboard:
Depends On: 1178605
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-18 19:11 UTC by Jason Montleon
Modified: 2019-09-26 18:08 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
: 1165355 (view as bug list)
Environment:
Last Closed: 2015-01-16 21:07:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Sync incomplete (93.73 KB, image/png)
2015-01-02 04:06 UTC, Tazim Kolhar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1277683 0 None None None Never
Red Hat Product Errata RHBA-2015:0054 0 normal SHIPPED_LIVE Red Hat Satellite 6 server bug fix update 2015-01-17 02:04:45 UTC

Description Jason Montleon 2014-11-18 19:11:08 UTC
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 5 RHEL 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.

Comment 10 Mike McCune 2014-12-11 17:24:35 UTC
temp move to MOD for ET

Comment 15 Tazim Kolhar 2015-01-02 04:05:25 UTC
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

Comment 16 Tazim Kolhar 2015-01-02 04:06:43 UTC
Created attachment 975136 [details]
Sync incomplete

Comment 17 Tazim Kolhar 2015-01-03 13:26:06 UTC
verified in upstream,moving it back
to ON_QA

Comment 18 Tazim Kolhar 2015-01-05 05:26:39 UTC
This Bz is failing when verified for errata system

Comment 19 Tazim Kolhar 2015-01-05 07:43:00 UTC
VERIFIED:

# rpm -q foreman
foreman-1.6.0.50-1.el6sat.noarch

Comment 21 errata-xmlrpc 2015-01-16 21:07:58 UTC
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


Note You need to log in before you can comment on or make changes to this bug.