Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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:
See https://bugzilla.redhat.com/show_bug.cgi?id=976855
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).
Fixes:
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.
In upstream master as of the below commit
commit ee59e0df48dd9702424fc21dc9ab4ecfbb1992a9
Author: Adrian Likins <alikins>
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.
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:
http://redhat.com/rhel/lifecycle
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:
https://access.redhat.com/