Bug 1302409

Summary: cdn.redhat.com has the wrong productId version for rhel 6.6
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: relengAssignee: Tomas Mlcoch <tmlcoch>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: brubisch, csnyder, dgilmore, lkocman, tmlcoch
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-17 12:02:57 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:
Bug Depends On: 1318735    
Bug Blocks:    

Description John Sefler 2016-01-27 18:56:06 UTC
Description of problem:
This issue is a new extension to bug 1214856.  The RHEL product cert version for the productid at https://cdn.redhat.com/content/dist/rhel/server/6/6.6/$basearch/os is 6.7 when it should be 6.6.

This adversely affects customers that use subscription-manager release --set=6.6 to remain fixed on a release.

How reproducible:


Steps to Reproduce:
[root@dell-pe1650-01 ~]# subscription-manager register --serverurl=subscription.rhn.stage.redhat.com --baseurl=https://cdn.redhat.com --auto-attach --username=qa
Registering to: subscription.rhn.stage.redhat.com:443/subscription
Password: 
The system has been registered with ID: 06075964-d426-4eee-9d3d-b137244cf2d9 

Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status:       Subscribed

[root@dell-pe1650-01 ~]# subscription-manager repos --list | grep -A4 " rhel-6-server-rpms"
Repo ID:   rhel-6-server-rpms
Repo Name: Red Hat Enterprise Linux 6 Server (RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/6/$releasever/$basearch/os
Enabled:   1

[root@dell-pe1650-01 ~]# 
[root@dell-pe1650-01 ~]# uname -i
i386
[root@dell-pe1650-01 ~]# curl --stderr /dev/null --cert /etc/pki/entitlement/2836911784600489909.pem --key /etc/pki/entitlement/2836911784600489909-key.pem --cacert /etc/rhsm/ca/redhat-uep.pem https://cdn.redhat.com/content/dist/rhel/server/6/6.6/i386/os/repodata/productid > productid.pem && rct cat-cert productid.pem | grep -A8 "Product:"
Product:
	ID: 69
	Name: Red Hat Enterprise Linux Server
	Version: 6.7   <================ FAILED, EXPECTED 6.6
	Arch: i386
	Tags: rhel-6,rhel-6-server
	Brand Type: 
	Brand Name: 

[root@dell-pe1650-01 ~]# 


Actual results:
 above

Expected results:
 Version: 6.6 product cert

Additional info:

Comment 2 John Sefler 2016-01-27 19:30:33 UTC
This issue exists for RHEL Server and Client i386 release 6.6.  The other variant/arches appear to pass.
 
java.lang.AssertionError: Version of the productid on the CDN at 'https://cdn.redhat.com/content/dist/rhel/server/6/6.6/i386/os/repodata/productid' that will be installed by the yum product-id plugin after setting the subscription-manager release to '6.6'. expected:<6.6> but was:<6.7>

java.lang.AssertionError: Version of the productid on the CDN at 'https://cdn.redhat.com/content/dist/rhel/client/6/6.6/i386/os/repodata/productid' that will be installed by the yum product-id plugin after setting the subscription-manager release to '6.6'. expected:<6.6> but was:<6.7>

Comment 4 Tomas Mlcoch 2017-05-17 12:02:57 UTC
Correct Product IDs were uploaded