Red Hat Bugzilla – Bug 976854
subman makes more candlepin api calls than needed
Last modified: 2013-10-01 09:48:30 EDT
Description of problem:
Subscription-manager (the gui, in particular) makes more REST api calls to the candlepin server than is really needed. This results in unneeded network io and a slow, blocking gui.
Most of this stems for unneeded creation of CertSorter object that make candlepin compliance status calls.
Checking rhsm.log will show a large number of server calls. Sometimes redundantly.
These calls should be reduced to a minimum, to improve the gui response, and to reduce the load on the candlepin servers.
[lots of this already fixed, but this bug is to track the rest]
This was a more general problem that has been cleaned up for the most part by other (already merged) patches. I think we're safe closing it at this point. QA shouldn't need to test anything, as the changes have all been optimizations.
Moving these to ON_QA. The tooling must have missed moving these.
Closing bug based on comment 1 and reduced number PUT and GET calls in the logs.
The register and unregister time on standalone candlepin is noticeably faster.