Bug 976854

Summary: subman makes more candlepin api calls than needed
Product: Red Hat Enterprise Linux 5 Reporter: Adrian Likins <alikins>
Component: subscription-managerAssignee: Carter Kozak <ckozak>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: bkearney, ckozak, fsharath
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 13:48:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 840995    

Description Adrian Likins 2013-06-21 16:15:54 UTC
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]

Comment 1 Carter Kozak 2013-07-19 23:22:59 UTC
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.

Comment 2 Bryan Kearney 2013-08-01 15:55:01 UTC
Moving these to ON_QA. The tooling must have missed moving these.

Comment 3 Sharath Dwaral 2013-08-08 14:30:20 UTC
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.

VERIFIED