Bug 1349313 - Task Actions::Katello::Host::UploadPackageProfile is synchronous
Summary: Task Actions::Katello::Host::UploadPackageProfile is synchronous
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Candlepin
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Chris Duryee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-23 08:19 UTC by Lukas Zapletal
Modified: 2020-12-11 12:14 UTC (History)
6 users (show)

Fixed In Version: rubygem-katello-3.0.0.54-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:15:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 12749 0 Normal Closed sub-man registration currently blocks on applicability generation 2020-07-14 18:35:28 UTC

Description Lukas Zapletal 2016-06-23 08:19:08 UTC
This task takes 10 minutes approximately on decent sized server (which is in compliance with our minimum requirements - eight cores AMD Opteron 2358 SE with 32GB RAM).

This then blocks all incoming requests in Foreman and Puppet Master (which uses node.rb). One Passenger worker is completely blocked. It is pretty easy to consume all five workers (default Satellite 6.2 sizing) and then ALL requests gets enqueued, client time outs.

I hit this during client testing of 6.2 GA.

Comment 1 Lukas Zapletal 2016-06-23 08:53:01 UTC
https://github.com/Katello/katello/commit/cd113485cc3b5b7a7cf59aa61d6c6660264d161a

Justin, what was reason for that? Kinda ruins my client tests :-)

Comment 2 Bryan Kearney 2016-06-23 12:47:48 UTC
Connecting redmine issue http://projects.theforeman.org/issues/12749 from this bug

Comment 5 Bryan Kearney 2016-06-23 14:15:44 UTC
Upstream bug component is Candlepin

Comment 6 Bryan Kearney 2016-06-23 14:15:46 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/12749 has been closed

Comment 7 Chris Duryee 2016-07-08 19:27:10 UTC
tested on snap 19.1

change looks good, I tested and did not see registrations blocking on profile update.

how I tested:

 * registered host to satellite (no-break test)
 * confirmed profile update did not finish before registration in CLI finished

as an additional test, I added a 10 second sleep to the pulp applicability call, and the registration still finished quickly.

Comment 8 Bryan Kearney 2016-07-27 11:15:59 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-2016:1501


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