Bug 1404797

Summary: Capsule Syncs are taking a long time and could be deadlocked.
Product: Red Hat Satellite Reporter: Perry Gagne <pgagne>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WORKSFORME QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.4CC: bbuckingham, mhrivnak, pgagne, sthirugn
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-06 22:24:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
List of repos in the sync plan none

Description Perry Gagne 2016-12-14 16:32:57 UTC
Created attachment 1231791 [details]
List of repos in the sync plan

Description of problem:
I did a content sync of a large number of repos using a sync plan. After the content synced to the satellite, it kicked off task to sync it to the capsules.

The capsule syncs where running for over 16 hours and never finished. 

Version-Release number of selected component (if applicable):


How reproducible: Was able to reproduce it 2-3 times with similar steps


Steps to Reproduce:
1. Enable the repos listed in repo-list.txt
2.Create a Sync Plan all the repos from 1, you dont need to enable the sync plan
3. Run the sync plan manually 

Actual results: The content will sync to the satellite, but when tasks to sync to the capsule will run forever


Expected results: Content will be synced to the capsules. 


Additional info: This might be caused by 1377195, but have to move to something else so we need to check to debug it more to see.

Comment 5 Michael Hrivnak 2017-02-06 22:24:51 UTC
Thanks for following up. You could have been bit by the qpid deadlock bug. We are also tracking capsule sync performance issues here:

https://bugzilla.redhat.com/show_bug.cgi?id=1419128