Bug 702398 - NSS issues with more than one susbcription
Summary: NSS issues with more than one susbcription
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.2
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: John Sefler
URL:
Whiteboard:
Depends On: 701425
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-05 14:52 UTC by RHEL Program Management
Modified: 2018-11-26 17:03 UTC (History)
13 users (show)

Fixed In Version: subscription-manager-0.95.13-1.el6_1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 14:52:01 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0822 0 normal SHIPPED_LIVE subscription-manager bug fix update 2011-05-19 14:51:48 UTC

Description RHEL Program Management 2011-05-05 14:52:32 UTC
This bug has been copied from bug #701425 and has been proposed
to be backported to 6.1 z-stream (EUS).

Comment 4 John Sefler 2011-05-09 15:55:02 UTC
Verifying Version...
[root@jsefler-onprem-6server ~]# rpm -q subscription-manager
subscription-manager-0.95.14-1.el6_1.x86_64


[root@jsefler-onprem-6server ~]# subscription-manager register --username=bryan.kearney
Password: 
81576bd7-dcec-40dc-aa45-6b058c58e800 jsefler-onprem-6server.usersys.redhat.com
[root@jsefler-onprem-6server ~]# subscription-manager list --avail
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+


ProductName:       	Red Hat Enterprise Linux Server Entitlement Beta for
                        Certified Engineers and System Administrators - NOT FOR SALE
ProductId:         	RH3036913                
PoolId:            	8a85f9812e264610012e4ee1de0149ee
Quantity:          	8                        
Expires:           	08/21/2011               


ProductName:       	90 day Supported Red Hat Enterprise Linux Server, (4
                        sockets) (Unlimited guests) Evaluation
ProductId:         	RH0179918                
PoolId:            	8a85f9812f273c09012f30a2422e37e1
Quantity:          	2                        
Expires:           	07/03/2011               


ProductName:       	90 day Supported Red Hat Enterprise Linux Server, (4
                        sockets) (Unlimited guests) Evaluation
ProductId:         	RH0179918                
PoolId:            	8a85f9812f273c09012f30a2424137e3
Quantity:          	unlimited                
Expires:           	07/03/2011               


ProductName:       	90 day Supported Resilient Storage (4 sockets) Evaluation
ProductId:         	RH1329305                
PoolId:            	8a85f9812f273c09012f30a2424e37e8
Quantity:          	2                        
Expires:           	07/03/2011               


ProductName:       	90 day Supported Scalable File System (4 sockets)
                        Evaluation
ProductId:         	RH1469292                
PoolId:            	8a85f9812f273c09012f30a2425e37eb
Quantity:          	2                        
Expires:           	07/03/2011               


ProductName:       	90 day Supported Red Hat Enterprise Linux Server, (4
                        sockets) (Unlimited guests) Evaluation
ProductId:         	RH0179918                
PoolId:            	8a85f9812f273c09012f30a2426237ed
Quantity:          	2                        
Expires:           	07/03/2011               


ProductName:       	90 day Supported Red Hat Enterprise Linux Server, (4
                        sockets) (Unlimited guests) Evaluation
ProductId:         	RH0179918                
PoolId:            	8a85f9812f273c09012f30a2427037ef
Quantity:          	unlimited                
Expires:           	07/03/2011               


ProductName:       	90 day Supported Resilient Storage (4 sockets) Evaluation
ProductId:         	RH1329305                
PoolId:            	8a85f9812f273c09012f30a2427a37f4
Quantity:          	1                        
Expires:           	07/03/2011               


ProductName:       	90 day Supported Scalable File System (4 sockets)
                        Evaluation
ProductId:         	RH1469292                
PoolId:            	8a85f9812f273c09012f30a2428537f7
Quantity:          	1                        
Expires:           	07/03/2011               


ProductName:       	90 day Supported Scalable File System (4 sockets)
                        Evaluation
ProductId:         	RH1469292                
PoolId:            	8a85f9812f273c09012f42bfb06b09be
Quantity:          	3                        
Expires:           	07/10/2011               


ProductName:       	90 day Supported Resilient Storage (4 sockets) Evaluation
ProductId:         	RH1329305                
PoolId:            	8a85f9812f273c09012f42c0308e0a48
Quantity:          	3                        
Expires:           	07/10/2011               


ProductName:       	90 day Supported Red Hat Enterprise Linux Server, (4
                        sockets) (Unlimited guests) Evaluation
ProductId:         	RH0179918                
PoolId:            	8a85f9812f273c09012f42c0998d0ac5
Quantity:          	1                        
Expires:           	07/10/2011               


ProductName:       	90 day Supported Red Hat Enterprise Linux Server, (4
                        sockets) (Unlimited guests) Evaluation
ProductId:         	RH0179918                
PoolId:            	8a85f9812f273c09012f42c099cb0ac7
Quantity:          	unlimited                
Expires:           	07/10/2011               

[root@jsefler-onprem-6server ~]# subscription-manager subscribe --pool=8a85f9812f273c09012f30a2424137e3 --pool=8a85f9812f273c09012f30a2424e37e8 --pool=8a85f9812f273c09012f30a2425e37eb
[root@jsefler-onprem-6server ~]# ls -l /etc/pki/entitlement/
total 56
-rw-r--r--. 1 root root  1679 May  9 11:38 4072294693405898472-key.pem
-rw-r--r--. 1 root root 10796 May  9 11:38 4072294693405898472.pem
-rw-r--r--. 1 root root  1679 May  9 11:38 7561710736536496905-key.pem
-rw-r--r--. 1 root root  6754 May  9 11:38 7561710736536496905.pem
-rw-r--r--. 1 root root  1679 May  9 11:38 8735873522685978678-key.pem
-rw-r--r--. 1 root root 21687 May  9 11:38 8735873522685978678.pem

^^^ NOTICE THAT ONE KEY PER ENTITLEMENT IS NOW GIVEN (THIS WAS THE FIX)

[root@jsefler-onprem-6server ~]# yum repolist
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
rhel-6-server-beta-rpms                                                                                                     | 3.7 kB     00:00     
rhel-6-server-rpms                                                                                                          | 2.1 kB     00:00     
rhel-ha-for-rhel-6-server-beta-rpms                                                                                         | 2.4 kB     00:00     
rhel-ha-for-rhel-6-server-rpms                                                                                              | 1.9 kB     00:00     
rhel-rs-for-rhel-6-server-beta-rpms                                                                                         | 2.4 kB     00:00     
rhel-rs-for-rhel-6-server-beta-rpms/primary_db                                                                              |  36 kB     00:00     
rhel-rs-for-rhel-6-server-rpms                                                                                              | 2.2 kB     00:00     
rhel-rs-for-rhel-6-server-rpms/primary                                                                                      |  15 kB     00:00     
rhel-rs-for-rhel-6-server-rpms                                                                                                               44/44
rhel-scalefs-for-rhel-6-server-beta-rpms                                                                                    | 2.4 kB     00:00     
rhel-scalefs-for-rhel-6-server-beta-rpms/primary_db                                                                         | 6.5 kB     00:00     
rhel-scalefs-for-rhel-6-server-rpms                                                                                         | 1.8 kB     00:00     
rhel-scalefs-for-rhel-6-server-rpms/primary                                                                                 | 2.5 kB     00:00     
rhel-scalefs-for-rhel-6-server-rpms                                                                                                            3/3
repo id                                             repo name                                                                                status
ldtp                                                Linux Desktop Testing Project (RedHat_RHEL-6)                                                7
rhel-6-server-beta-rpms                             Red Hat Enterprise Linux 6 Server Beta (RPMs)                                            3,470
rhel-6-server-rpms                                  Red Hat Enterprise Linux 6 Server (RPMs)                                                 3,986
rhel-ha-for-rhel-6-server-beta-rpms                 Red Hat Enterprise Linux High Availability (for RHEL 6 Server) Beta (RPMs)                  47
rhel-ha-for-rhel-6-server-rpms                      Red Hat Enterprise Linux High Availability (for RHEL 6 Server) (RPMs)                       44
rhel-rs-for-rhel-6-server-beta-rpms                 Red Hat Enterprise Linux Resilient Storage (for RHEL 6 Server) Beta (RPMs)                  42
rhel-rs-for-rhel-6-server-rpms                      Red Hat Enterprise Linux Resilient Storage (for RHEL 6 Server) (RPMs)                       44
rhel-scalefs-for-rhel-6-server-beta-rpms            Red Hat Enterprise Linux Scalable File System (for RHEL 6 Server) Beta (RPMs)                7
rhel-scalefs-for-rhel-6-server-rpms                 Red Hat Enterprise Linux Scalable File System (for RHEL 6 Server) (RPMs)                     3
repolist: 7,650


^^^ NOTICE THAT AVAILABLE PACKAGES ARE LISTED FOR ALL RHEL PRODUCTS SUBSCRIBED 

[root@jsefler-onprem-6server ~]# yum install foo
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
rhel-6-server-beta-rpms                                                                                                     | 3.7 kB     00:00     
rhel-6-server-rpms                                                                                                          | 2.1 kB     00:00     
rhel-ha-for-rhel-6-server-beta-rpms                                                                                         | 2.4 kB     00:00     
rhel-ha-for-rhel-6-server-rpms                                                                                              | 1.9 kB     00:00     
rhel-rs-for-rhel-6-server-beta-rpms                                                                                         | 2.4 kB     00:00     
rhel-rs-for-rhel-6-server-rpms                                                                                              | 2.2 kB     00:00     
rhel-scalefs-for-rhel-6-server-beta-rpms                                                                                    | 2.4 kB     00:00     
rhel-scalefs-for-rhel-6-server-rpms                                                                                         | 1.8 kB     00:00     
Setting up Install Process
No package foo available.
Error: Nothing to do
[root@jsefler-onprem-6server ~]# 


^^^ NOTICE THAT NO NSS ERROR IS PRESENT AFTER SUBSCRIBING TO MULTIPLE PRODUCTS

moving to VERIFIED

Comment 5 errata-xmlrpc 2011-05-19 14:52:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0822.html


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