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 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.