Bug 1035623 - Failed to attach valid subscriptions on RHEL7
Summary: Failed to attach valid subscriptions on RHEL7
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: candlepin
Version: 1.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Katello Bug Bin
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-28 08:38 UTC by qianzhan
Modified: 2013-11-28 09:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-28 09:25:21 UTC


Attachments (Terms of Use)
"auto-attach in GUI" (1.50 MB, image/png)
2013-11-28 08:39 UTC, qianzhan
no flags Details
"Not attach valid subscription" (1.49 MB, image/png)
2013-11-28 08:40 UTC, qianzhan
no flags Details
"katello-debug-20131128032102.tar.gz" (209.76 KB, application/x-gzip)
2013-11-28 08:41 UTC, qianzhan
no flags Details

Description qianzhan 2013-11-28 08:38:31 UTC
Description of problem:
Failed to attach valid subscriptions on RHEL7

Version-Release number of selected component (if applicable):
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-certs-tools-1.4.2-2.el6sat.noarch
katello-cli-1.4.3-11.el6sat.noarch
katello-cli-common-1.4.3-11.el6sat.noarch
katello-common-1.4.3.23-1.el6sam_splice.noarch
katello-configure-1.4.4-5.el6sam.noarch
katello-glue-candlepin-1.4.3.23-1.el6sam_splice.noarch
katello-glue-elasticsearch-1.4.3.23-1.el6sam_splice.noarch
katello-headpin-1.4.3.23-1.el6sam_splice.noarch
katello-headpin-all-1.4.3.23-1.el6sam_splice.noarch
katello-selinux-1.4.4-2.el6sat.noarch
ruby193-rubygem-katello-redhat-access-engine-0.0.1-1.el6sam.noarch
candlepin-0.8.26-1.el6sam.noarch
candlepin-scl-1-5.el6_4.noarch
candlepin-scl-quartz-2.1.5-5.el6_4.noarch
candlepin-scl-rhino-1.7R3-1.el6_4.noarch
candlepin-scl-runtime-1-5.el6_4.noarch
candlepin-selinux-0.8.26-1.el6sam.noarch
candlepin-tomcat6-0.8.26-1.el6sam.noarch
thumbslug-0.0.34-1.el6sam.noarch
thumbslug-selinux-0.0.34-1.el6sam.noarch
subscription-manager: 1.10.6-1.el7
python-rhsm: 1.10.6-1.el7

How reproducible:
always

Steps to Reproduce:
1. Register and auto-attach against SAM.
[root@dhcp-65-128 ~]# subscription-manager register --auto-attach
Username: admin
Password: 
The system has been registered with ID: 8b5a572f-3219-4296-bcc9-f93ba386a2cc 
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux 7 Public Beta
Status:       Not Subscribed

2. List available subscriptions.

[root@dhcp-65-128 ~]# subscription-manager list --available
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux 7 High Touch Beta
Provides:          Red Hat Enterprise Linux 7 for IBM System z High Touch Beta
                   Red Hat Enterprise Linux 7 Desktop High Touch Beta
                   Red Hat Enterprise Linux 7 High Availability High Touch Beta
                   Red Hat Enterprise Linux 7 for HPC Compute Node High Touch
                   Beta
                   Red Hat Enterprise Linux 7 for IBM POWER High Touch Beta
                   Red Hat Enterprise Linux 7 Server High Touch Beta
                   Red Hat Enterprise Linux 7 Workstation High Touch Beta
                   Red Hat Enterprise Linux 7 Load Balancer High Touch Beta
                   Red Hat Enterprise Linux 7 Resilient Storage High Touch Beta
SKU:               RH00076
Contract:          10299499
Pool ID:           8ac28c34424f70ed014255c714ac0119
Available:         997
Suggested:         1
Service Level:     Self-Support
Service Type:      L1-L3
Multi-Entitlement: Yes
Ends:              11/07/2014
System Type:       Physical

3. Unregister and re-register with auto-attach in GUI.

A warning window pops up to say:'No service level will cover all installed products. Please manually subscribe using multiple service levels via the "All Available Subscriptions" tab or purchase additional subscritptions'

Please see attachment "auto-attach in GUI"

4. Try to manually attach available subscriptions in GUI.
The attached subscriptions appears on "My Subscriptions" tab, but "My installed Products" is not subscribed with red color.

Please see attachment "Not attach valid subscription"

Actual results:
As above

Expected results:
auto-attach should succeed.

Additional info:
1. The auto-attachment is normal against stage candlepin.
2. SAM debug info is attached as "katello-debug-20131128032102.tar.gz"

Comment 1 qianzhan 2013-11-28 08:39:36 UTC
Created attachment 830087 [details]
"auto-attach in GUI"

Comment 2 qianzhan 2013-11-28 08:40:08 UTC
Created attachment 830095 [details]
"Not attach valid subscription"

Comment 3 qianzhan 2013-11-28 08:41:10 UTC
Created attachment 830097 [details]
"katello-debug-20131128032102.tar.gz"

Comment 4 qianzhan 2013-11-28 09:25:21 UTC
Because I used SKU 'RH00076' on public beta product, this is not a bug.


Note You need to log in before you can comment on or make changes to this bug.