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.
Bug 666540 - not sure that systems facts are being used to filter the list of available subscriptions
Summary: not sure that systems facts are being used to filter the list of available su...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Adrian Likins
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: Entitlement-Beta
TreeView+ depends on / blocked
 
Reported: 2010-12-31 15:02 UTC by John Sefler
Modified: 2011-01-28 14:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-28 14:51:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John Sefler 2010-12-31 15:02:43 UTC
Description of problem:
I'm not confident that there is a bug in subscription-manager or maybe the subscription data used in the imported cp_product_utils is missing some rules.  Anyhow, here's the issue...

I have an automated test that is supposed to assert that the list of available subscriptions (to the same user) is different when the client system is RHEL Server versus RHEL Workstation.

During the Entitlement-Alpha testing cycle, the list of available subscriptions was different and this test passed.  Now during the Entitlement-Beta testing, this test has been failing.  The list of available subscriptions to testuser1 is the same on both a RHEL Server versus a RHEL Workstation client.


Version-Release number of selected component (if applicable):
# rpm -q subscription-manager
subscription-manager-0.93.8-1.git.15.dfe034e.el6.x86_64



Steps to Reproduce:

ON PREMISES SERVER CLIENT....
[root@jsefler-onprem01 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.0 (Santiago)
[root@jsefler-onprem01 ~]# subscription-manager register --username=testuser1 --password=password
90f3180d-6945-4587-a328-27e7d26d1f82 testuser1
[root@jsefler-onprem01 ~]# subscription-manager facts --list | grep distribution
distribution.id: Santiago
distribution.name: Red Hat Enterprise Linux Server
distribution.version: 6.0

ON PREMISES WORKSTATION CLIENT....
[root@jsefler-onprem02 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Workstation release 6.0 (Santiago)
[root@jsefler-onprem02 ~]# subscription-manager register --username=testuser1 --password=password
e1af035d-5239-4198-9028-ab4f3d585ead testuser1
[root@jsefler-onprem02 ~]# subscription-manager facts --list | grep distribution
distribution.id: Santiago
distribution.name: Red Hat Enterprise Linux Workstation
distribution.version: 6.0


BOTH CLIENTS YIELD THE SAME LIST OF AVAILABLE SUBSCRIPTIONS:
# subscription-manager list --available
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+


ProductName:       	Shared Storage (GFS)     
ProductId:         	37067                    
PoolId:            	ff8080812d3acd73012d3ace6542013a
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	Large File Support (XFS) 
ProductId:         	37068                    
PoolId:            	ff8080812d3acd73012d3ace6574013d
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	RHEL for Workstations SVC
ProductId:         	27060                    
PoolId:            	ff8080812d3acd73012d3ace667b014c
Quantity:          	10                       
Expires:           	2012-01-31               


ProductName:       	Smart Management (RHN Management & Provisioning)
ProductId:         	37069                    
PoolId:            	ff8080812d3acd73012d3ace65ad0140
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	RHEL Personal SVC        
ProductId:         	1                        
PoolId:            	ff8080812d3acd73012d3ace67c50195
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	RHEL for Physical Servers
ProductId:         	MKT-rhel-server          
PoolId:            	ff8080812d3acd73012d3ace66f8016a
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	Basic RHEL Server        
ProductId:         	MKT-simple-rhel-server-mkt
PoolId:            	ff8080812d3acd73012d3ace673a017f
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	RHEL for Physical Servers SVC
ProductId:         	37060                    
PoolId:            	ff8080812d3acd73012d3ace66560149
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	Flexible Hypervisor(Premium Architectures-15-pack)
ProductId:         	37                       
PoolId:            	ff8080812d3acd73012d3ace66230146
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	Load Balancing           
ProductId:         	37070                    
PoolId:            	ff8080812d3acd73012d3ace65070137
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	RHEL for Workstations SVC
ProductId:         	27060                    
PoolId:            	ff8080812d3acd73012d3ace6690014e
Quantity:          	5                        
Expires:           	2011-12-30               


ProductName:       	Load Balancing           
ProductId:         	37070                    
PoolId:            	ff8080812d3acd73012d3ace64f60136
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	RHEL for Physical Servers ,2 Sockets, Standard Support with
                        High Availability,Load Balancing,Shared Storage,Large File
                        Support,Smart Management, Flexible Hypervisor(Unlimited)
ProductId:         	MKT-rhel-physical-2-socket
PoolId:            	ff8080812d3acd73012d3ace687201b0
Quantity:          	5                        
Expires:           	2011-12-30               


ProductName:       	RHEL for Physical Servers ,2 Sockets, L1-L3, Premium Support
ProductId:         	MKT-rhel-physical-servers-only
PoolId:            	ff8080812d3acd73012d3ace68a501c2
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	RHEL for Physical Servers ,4 Sockets, L1-L3, Premium Support
ProductId:         	MKT-rhel-phys-2-sockets-premium
PoolId:            	ff8080812d3acd73012d3ace68e301dd
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	Smart Management Add On  
ProductId:         	smart-100                
PoolId:            	ff8080812d3acd73012d3ace6c3c0251
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	Flexible Hypervisor(Physical Servers-Unlimited)
ProductId:         	38                       
PoolId:            	ff8080812d3acd73012d3ace65ed0143
Quantity:          	5                        
Expires:           	2011-12-30               


ProductName:       	RHEL for Physical Servers ,2 Sockets, Standard Support with
                        High Availability,Load Balancing,Shared Storage,Large File
                        Support,Smart Management, Flexible Hypervisor(Unlimited)
ProductId:         	MKT-rhel-physical-2-socket
PoolId:            	ff8080812d3acd73012d3ace685201a7
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	RHEL for Physical Servers ,2 Sockets, L1-L3, Basic Support
ProductId:         	MKT-rhel-phys-2-sockets-basic
PoolId:            	ff8080812d3acd73012d3ace693001f8
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	RHEL for Physical Servers ,2 Sockets, L1-L3, Premium Support
ProductId:         	MKT-rhel-physical-servers-only
PoolId:            	ff8080812d3acd73012d3ace68b501ca
Quantity:          	5                        
Expires:           	2011-12-30               


ProductName:       	RHEL for Physical Servers ,4 Sockets, L1-L3, Premium Support
ProductId:         	MKT-rhel-phys-2-sockets-premium
PoolId:            	ff8080812d3acd73012d3ace68f901e6
Quantity:          	5                        
Expires:           	2011-12-30               


ProductName:       	RHEL for Physical Servers ,2 Sockets, L1-L3, Basic Support
ProductId:         	MKT-rhel-phys-2-sockets-basic
PoolId:            	ff8080812d3acd73012d3ace69480200
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	Smart Management Add On  
ProductId:         	smart-100                
PoolId:            	ff8080812d3acd73012d3ace6c630253
Quantity:          	5                        
Expires:           	2012-01-31               


ProductName:       	RHEL Workstation         
ProductId:         	MKT-rhel-workstation-mkt 
PoolId:            	ff8080812d3acd73012d3ace6777018a
Quantity:          	5                        
Expires:           	2011-12-30               


ProductName:       	High availability (cluster suite)
ProductId:         	37065                    
PoolId:            	ff8080812d3acd73012d3ace64bd0134
Quantity:          	5                        
Expires:           	2011-12-30               


ProductName:       	Smart Management (RHN Management & Provisioning)
ProductId:         	37069                    
PoolId:            	ff8080812d3acd73012d3ace6591013f
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	Basic RHEL Server        
ProductId:         	MKT-simple-rhel-server-mkt
PoolId:            	ff8080812d3acd73012d3ace6724017a
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	High availability (cluster suite)
ProductId:         	37065                    
PoolId:            	ff8080812d3acd73012d3ace649c0133
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	RHEL Personal SVC        
ProductId:         	1                        
PoolId:            	ff8080812d3acd73012d3ace67af0192
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	Flexible Hypervisor(Premium Architectures-15-pack)
ProductId:         	37                       
PoolId:            	ff8080812d3acd73012d3ace66150145
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	RHEL for Physical Servers
ProductId:         	MKT-rhel-server          
PoolId:            	ff8080812d3acd73012d3ace66dc015e
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	RHEL for Physical Servers SVC
ProductId:         	37060                    
PoolId:            	ff8080812d3acd73012d3ace66480148
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	RHEL Workstation         
ProductId:         	MKT-rhel-workstation-mkt 
PoolId:            	ff8080812d3acd73012d3ace67650186
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	Shared Storage (GFS)     
ProductId:         	37067                    
PoolId:            	ff8080812d3acd73012d3ace652c0139
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	Flexible Hypervisor(Physical Servers-Unlimited)
ProductId:         	38                       
PoolId:            	ff8080812d3acd73012d3ace65dd0142
Quantity:          	10                       
Expires:           	2011-12-30               


ProductName:       	Large File Support (XFS) 
ProductId:         	37068                    
PoolId:            	ff8080812d3acd73012d3ace6568013c
Quantity:          	10                       
Expires:           	2011-12-30

Comment 2 Bryan Kearney 2011-01-27 21:04:44 UTC
Did you have different product ids on the box or in the test? I ask because we do not use the distribution data to determine that. If there was no product id, we should close as NOTABUG.

Comment 3 John Sefler 2011-01-28 14:46:55 UTC
During the test on these particular clients, there were no product certs (in /etc/pki/product) to indicate the client's distribution of RHEL.

Comment 4 Bryan Kearney 2011-01-28 14:51:42 UTC
We only key off of product id. Therefore, this wouldnot pass. I am closing as NOTABUG.


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