Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1530705

Summary: Possible race condition when sync multiple puppet repos at the same time
Product: Red Hat Satellite Reporter: Satellite Program <pm-sat>
Component: Content ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.6CC: antoine.patte, bbuckingham, bkearney, bmbouter, cfouant, daviddavis, dcaplan, dkliban, egolov, ehelms, ggainey, gpayelka, hyu, ipanova, jcallaha, jentrena, jomitsch, jsherril, mhrivnak, mmccune, mverma, oshtaier, pcreech, pdwyer, rchan, ttereshc
Target Milestone: UnspecifiedKeywords: PrioBumpField, PrioBumpPM, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1421594 Environment:
Last Closed: 2018-02-21 16:54:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1479962    

Comment 2 pulp-infra@redhat.com 2018-01-03 17:35:08 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 3 pulp-infra@redhat.com 2018-01-03 17:35:15 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 4 Lukas Pramuk 2018-02-02 20:08:57 UTC
VERIFIED.

@satellite-6.3.0-23.0.el7sat.noarch
tfm-rubygem-katello-3.4.5.58-1.el7sat.noarch

used steps described in https://bugzilla.redhat.com/show_bug.cgi?id=1421594#c40 and focused on overall sanity 


>>> Actions::Pulp::Consumer::SyncCapsule suceeded for both yum and puppet repo while remove_missing sync option was enabled 

>>> Actions::Pulp::Consumer::UnassociateUnits step is no longer required to avoid race condition


@SAT 
# foreman-rake katello:delete_orphaned_content RAILS_ENV=production
Orphaned content deletion started in background.

>>> weekly cleanup cron job now renders separate cleanup tasks for all capsules and these tasks are run successfully

Comment 5 Satellite Program 2018-02-21 16:54:17 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/RHSA-2018:0336