Bug 1302409 - cdn.redhat.com has the wrong productId version for rhel 6.6
Summary: cdn.redhat.com has the wrong productId version for rhel 6.6
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: releng
Version: 6.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Mlcoch
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On: 1318735
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-27 18:56 UTC by John Sefler
Modified: 2017-05-17 12:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-17 12:02:57 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1214856 0 low CLOSED cdn.redhat.com has the wrong productId version for rhel server 6.2 and 6.4 on x86_64 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1286718 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 1357574 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1214856 1286718 1357574

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


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