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.
Description of problem:
When a host is registered, an applicability task is kicked off for that consumer. Each task is dispatched with a reservation for 'repository_profile_applicability' resource. This is not a real resource. This causes all these tasks to be processed by a single worker.
Version-Release number of selected component (if applicable):
How reproducible: Always
Steps to Reproduce:
1. Register a few hosts one right after another
2. Examine Pulp's database - 'reserved_resource' collection
3.
Actual results:
The reserved_resource collection has 'repository_profile_applicability' resource reserved.
Expected results:
No reserved_resource documents should exist for applicability tasks.
Additional info:
Comment 1pulp-infra@redhat.com
2015-08-21 20:44:49 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
Comment 2pulp-infra@redhat.com
2015-08-21 20:44:50 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
The steps in #0 are still valid.
The way I've been testing it is as follows:
* view qpid queue stats via 'qpid-stat -q --ssl-certificate=/etc/pki/katello/qpid_client_striped.crt -b amqps://localhost:5671 '
* subscribe some hosts to new repos
* view queue stats again
You should see the 'msgIn' and 'msgOut' columns increase for the 'celery' queue. Without the patch, you would see 'reserved-resource-worker-X' increase.
To test this without examining the queue stats, you would need to get applicability regen to run on a large number of hosts and then check if all pulp workers were busy (new behavior), or if just one was busy (old behavior).
Comment 15Renzo Nuccitelli
2017-06-06 14:21:02 UTC
Comment 18pulp-infra@redhat.com
2017-06-06 17:36:04 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
Comment 19pulp-infra@redhat.com
2017-06-06 17:36:08 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.
Comment 20pulp-infra@redhat.com
2017-06-07 14:36:05 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
Comment 22pulp-infra@redhat.com
2017-06-07 15:36:07 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
Comment 24Renzo Nuccitelli
2017-06-13 15:47:18 UTC
Created attachment 1287373[details]
Errata available screenshot
As can be seen on attached screen shot, after registering host with old repo the relate errata package was made available on Satellite. So I moved this issue to VERIFIED
Comment 25pulp-infra@redhat.com
2017-06-14 14:31:37 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.
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-2017:1553
Comment 28pulp-infra@redhat.com
2017-06-23 16:02:11 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.