Bug 1302409 - cdn.redhat.com has the wrong productId version for rhel 6.6
cdn.redhat.com has the wrong productId version for rhel 6.6
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: releng (Show other bugs)
6.6
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Tomas Mlcoch
Release Test Team
:
Depends On: 1318735
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-27 13:56 EST by John Sefler
Modified: 2017-05-17 08:02 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-05-17 08:02:57 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Sefler 2016-01-27 13:56:06 EST
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@redhat.com
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 14:30:33 EST
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 08:02:57 EDT
Correct Product IDs were uploaded

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