Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1085724

Summary: Hypervisor failed to subscribe "Red Hat Employee Subscription"
Product: [Retired] Subscription Asset Manager Reporter: Liushihui <shihliu>
Component: katelloAssignee: Bryan Kearney <bkearney>
Status: CLOSED WONTFIX QA Contact: SAM QE List <sam-qe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.4CC: bkearney, liliu, sgao, shihliu
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: 2017-06-26 20:36:19 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: 1125364    
Attachments:
Description Flags
Red Hat Employee Subscription.jpeg none

Description Liushihui 2014-04-09 08:18:59 UTC
Description of problem:
ESX hypervisor has been registered to SAM, But it can't subscribe the "Red Hat Employee Subscription"

Version-Release number of selected component (if applicable):
virt-who-0.8-12.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Configure virt-who in esx mode and set VIRTWHO_INTERVAL=5, start virt-who service.ESX hypervisor has been registered to SAM
2. Open SAM web UI with "http://[SAM Server IP]/sam", choose the ESX hypervisor, Then subscribe the "Red Hat Employee Subscription"

Actual results:
Subscribe "Red Hat Employee Subscription" failed. 
In the SAM web UI, it will pop up error message as the following:
"Too many content sets for certificate Red Hat Employee Subscription. A newer client may be available to address this problem. See kbase https://access.redhat.com/knowledge/node/129003 for more information."

Expected results:
The ESX hypervisor should subscribe "Red Hat Employee Subscription" successfully

[NOTE]: The solution in the https://access.redhat.com/knowledge/node/129003 can't resolve this problem

Comment 1 Carter Kozak 2014-04-09 19:49:39 UTC
This has nothing to do with esx.

What system are you attempting to attach subscriptions to?  What is the value of the "system.certificate_version"?
If that key doesn't exist or is less than 3 we can't allow more than a maximum content length (I forget the actual number).

Update subscription manager, and run subscription-manager facts --update

Please post the version of subscription-manager that you are using on the system that cannot attach the subscription in question.

Comment 2 Carter Kozak 2014-04-09 19:57:39 UTC
Disregard most of my previous comment, it looks like we need to add "system.certificate_version":"3.2" to the default hypervisor, or check for hypervisor type consumers and never block subscriptions from being attached.

Comment 3 Carter Kozak 2014-05-09 14:49:03 UTC
commit 522c8b456c453a62a58429b5f74d6efa212d21ff
Author: ckozak <ckozak>
Date:   Wed Apr 16 08:47:28 2014 -0400

    1075883: whitelist hypervisor consumers for certv3

I believe this is fixed in prod

in candlepin-0.9.9 and later

Comment 4 Liushihui 2014-06-12 03:16:22 UTC
It isn't exist on the latest Stage Candlepin

Comment 5 Liushihui 2014-08-04 02:53:50 UTC
It still exist on SAM-1.4.1-RHEL-6-20140714.1

Packages Tested:
subscription-manager-1.12.10-1.el6.x86_64
python-rhsm-1.12.5-1.el6.x86_64
virt-who-0.10-4.el6.noarch
katello-headpin-1.4.3.26-1.el6sam_splice.noarch
candlepin-0.9.6.4-1.el6sam.noarch

Comment 6 Liushihui 2014-08-05 10:18:29 UTC
It isn't exist on SAM-1.4.1-RHEL-6-20140804.0. It's successful to subscribe "Red Hat Employee Subscription " to the 
ESX Host from SAM WEB UI, please see the screenshot on the attachment "Red Hat Employee Subscription.jpeg". 

Version-Release number of selected component:
candlepin-0.9.6.5-1.el6sam.noarch
katello-headpin-1.4.3.26-1.el6sam_splice.noarch
subscription-manager-1.12.10-1.el6.x86_64
python-rhsm-1.12.5-1.el6.x86_64
virt-who-0.10-4.el6.noarch

Comment 7 Liushihui 2014-08-05 10:19:18 UTC
Created attachment 924162 [details]
Red Hat Employee Subscription.jpeg

Comment 9 Bryan Kearney 2017-06-26 20:36:19 UTC
The release of Satellite 5.8 we are deprecating the support of Subscription Asset Manager. The release notes for 5.8 can be found at https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/pdf/release_notes/Red_Hat_Satellite-5.8-Release_Notes-en-US.pdf.

I am therefore closing out this bug as WONTFIX. If you believe this to be an error, please feel free tor each out to either Rich Jerrido or Bryan Kearney. Thank you!