Hide Forgot
Description of problem: Developer consumer auto-attach is taking a long time (1 - 2 minutes) on some deployments. Version-Release number of selected component (if applicable): 0.9.51.14 How reproducible: 100% Steps to Reproduce: 1. Register (+ auto-attach) a development consumer against a candlepin instance that has a very large number of pools (stage). sudo subscription-manager register --user YOUR_USER --password YOUR_PASS --auto-attach Actual results: Registration + auto-attach can take quite some time to complete. Expected results: Should not take this long to register and auto-attach a dev entitlement. Additional info: This bug is directly related to the number of pools that exist on a candlepin instance and appears to be related to the query that checks for an existing dev pool associated with a consumer on auto-attach.
It is important to note that this bug is not applicable to an auto-attach with a standard consumer, and is only seen when auto-attaching with a dev consumer.
Updated the query to filter pools by the consumer's owner. Total time for registration + auto-attach for developer consumer now at around 18s.
Fix deployed to production on 1/25/2016 - 0.9.51.15
Moving to closed per the updated candlepin process for bugs that have been merged or have been taken care of.