Bug 1328302 - [Katello 3.0 RC2] subscription-manager and activation key auto attach is not working
Summary: [Katello 3.0 RC2] subscription-manager and activation key auto attach is not ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: jcallaha
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-19 01:33 UTC by Justin Sherrill
Modified: 2019-09-25 21:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:11:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14697 0 High Closed [Katello 3.0 RC2] subscription-manager and activation key auto attach is not working 2021-02-04 20:07:14 UTC

Description Justin Sherrill 2016-04-19 01:33:24 UTC
Katello version: Katello 3.0RC
Subscription manager version: subscription-manager-1.15.9-15.el7.centos.0.1.x86_64
Client version: CentOS Linux release 7.2.1511 (Core)

UI Configuration:

In "activation keys"->"subscriptions", 3 products are added and auto attached is enabled.


Reproduce:
On the client,
subscription-manager register --org="IT_Infra" --activationkey="CentOS7Test"
<Subscription successful>

subscription-manager list --consumed
No consumed subscription pools to list

In Katello UI->Content Host->the client->subscriptions->"List/Remove" tab, it's missing the products but in the "add" tab, the 3 products are available.

Comment 1 Justin Sherrill 2016-04-19 01:33:29 UTC
Created from redmine issue http://projects.theforeman.org/issues/14697

Comment 2 Justin Sherrill 2016-04-19 01:33:34 UTC
Upstream bug assigned to jsherril

Comment 4 Bryan Kearney 2016-04-19 14:07:14 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14697 has been closed
-------------
Justin Sherrill
Applied in changeset commit:katello|6f3041352bda36aa5e02299addfba9677c421f84.

Comment 5 jcallaha 2016-05-31 20:03:13 UTC
Verified in Satellite 6.2 Beta Snap 13.

Custom subscription successfully added in auto-attach. 

[root@ibm-x3550m3-08 ~]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions (truncated)
+-------------------------------------------+
Subscription Name:   custom
Provides:            custom
SKU:                 1463681832989
Contract:            
Account:             
Serial:              6141634041846473815
Pool ID:             8a9084ef54c971190154ca3c596a0002
Provides Management: No
Active:              True
Quantity Used:       1
Service Level:       
Service Type:        
Status Details:      Subscription is current
Subscription Type:   Standard
Starts:              05/19/2016
Ends:                05/12/2046
System Type:         Physical

Comment 6 Bryan Kearney 2016-07-27 11:11:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501


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