Red Hat Bugzilla – Bug 976859
(server) version checks done at startup are very slow
Last modified: 2018-03-14 16:08:25 EDT
Description of problem:
When starting up, subman makes a call to it's candlepin server to determine the server versioning so it can log it (as well as checking for server status and capabilities).
Wait until we have to make a server /status call (ideally, just before the first needed api call) and update the server version info there.
Don't make this call solely to get server version. If we need it for /status info, collect it then, but don't do it for just the version.
Make this call async, so client startup does not block on it.
See the attachment to 976855 for a profile showing this.
moving to rhel7.
Moving bugs from 7.0 to 7.1
new related pr at https://github.com/candlepin/subscription-manager/pull/1353
In upstream master as of the below commit
Author: Adrian Likins <firstname.lastname@example.org>
Date: Tue Dec 1 13:46:35 2015 -0500
976859: Only check server version if asked.
976859 is about the server version check done by
the cli being slow, which it is (at least for
invocations that otherwise don't use the network)
315d08e880 moved the check to use a thread so as
to not block, but 1284120 was a bug in it.
For simplicity, this commit removes the threading,
but also removes the server version check from all
cli sub commands except 'register' and 'version'
since it was of limited utility in practice.
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see email@example.com with any questions
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.
The official life cycle policy can be reviewed here:
This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: