Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1176260

Summary: the RHN RHEL Channels 'rhel-<ARCH>-<VARIANT>-7-thirdparty-oracle-java-beta' map to a '7.0' version cert; should be '7.1 Beta'.
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-manager-migration-dataAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: high Docs Contact:
Priority: high    
Version: 7.1CC: anthomas, awood, bkearney, skallesh
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 13:16:58 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1005618    

Description John Sefler 2014-12-19 21:29:47 UTC
Description of problem:
Since this package of subscription-manager-migration-data is targeted for RHEL7.1, the following beta channels should map to a product cert that contains a Version "7.1 Beta" value.  Instead they contain a Version "7.0" value.

rhel-x86_64-client-7-thirdparty-oracle-java-beta
rhel-x86_64-hpc-node-7-thirdparty-oracle-java-beta
rhel-x86_64-server-7-thirdparty-oracle-java-beta
rhel-x86_64-workstation-7-thirdparty-oracle-java-beta

Version-Release number of selected component (if applicable):
[root@jsefler-os7 ~]# rpm -q subscription-manager-migration-data
subscription-manager-migration-data-2.0.15-1.el7.noarch


How reproducible:


Steps to Reproduce:
[root@jsefler-os7 ~]# grep 7-thirdparty-oracle-java-beta /usr/share/rhsm/product/RHEL-7/channel-cert-mapping.txt
rhel-x86_64-client-7-thirdparty-oracle-java-beta: Client-x86_64-8d3cff74f40b-242.pem
rhel-x86_64-hpc-node-7-thirdparty-oracle-java-beta: ComputeNode-x86_64-fa5fea9a468b-243.pem
rhel-x86_64-server-7-thirdparty-oracle-java-beta: Server-x86_64-595f673ff23c-240.pem
rhel-x86_64-workstation-7-thirdparty-oracle-java-beta: Workstation-x86_64-731a39f3cabe-244.pem

[root@jsefler-os7 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-7/Client-x86_64-8d3cff74f40b-242.pem | tail -9
Product:
	ID: 242
	Name: Oracle Java (for RHEL Client)
	Version: 7.0           <=========== EXPECTED 7.1 Beta
	Arch: x86_64
	Tags: rhel-7-client
	Brand Type: 
	Brand Name: 

[root@jsefler-os7 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-7/ComputeNode-x86_64-fa5fea9a468b-243.pem | tail -9
Product:
	ID: 243
	Name: Oracle Java (for RHEL Compute Node)
	Version: 7.0           <=========== EXPECTED 7.1 Beta
	Arch: x86_64
	Tags: rhel-7-computenode
	Brand Type: 
	Brand Name: 

[root@jsefler-os7 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-7/Server-x86_64-595f673ff23c-240.pem | tail -9Product:
	ID: 240
	Name: Oracle Java (for RHEL Server)
	Version: 7.0           <=========== EXPECTED 7.1 Beta
	Arch: x86_64
	Tags: rhel-7-server
	Brand Type: 
	Brand Name: 

[root@jsefler-os7 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-7/Workstation-x86_64-731a39f3cabe-244.pem | tail -9
Product:
	ID: 244
	Name: Oracle Java (for RHEL Workstation)
	Version: 7.0           <=========== EXPECTED 7.1 Beta
	Arch: x86_64
	Tags: rhel-7-workstation
	Brand Type: 
	Brand Name: 

[root@jsefler-os7 ~]# 



Actual results:
above

Expected results:
For all four 7-thirdparty-oracle-java-beta channel-to-product cert mappings above, I expected the product cert versions to be 
"7.1 Beta"

Comment 1 John Sefler 2014-12-19 21:38:35 UTC
To fix this bug, the upstream product certs and product-certs.json file will have to be re-built by anthomas.

Comment 2 Andrew Thomas 2014-12-22 15:00:59 UTC
Certs created and added to product-certs.json. Please re-test.

Comment 4 Shwetha Kallesh 2015-01-19 06:40:37 UTC
Marking verified!! The product now has the version "7.1 Beta".

[root@dhcp35-236 ~]# rpm -qa | grep subscription-manager-migration-data
subscription-manager-migration-data-2.0.16-1.el7.noarch



[root@dhcp35-236 ~]# grep 7-thirdparty-oracle-java-beta /usr/share/rhsm/product/RHEL-7/channel-cert-mapping.txt
rhel-x86_64-client-7-thirdparty-oracle-java-beta: Client-OracleJava-x86_64-c1627f805e21-242.pem
rhel-x86_64-hpc-node-7-thirdparty-oracle-java-beta: ComputeNode-OracleJava-x86_64-9f9042b06588-243.pem
rhel-x86_64-server-7-thirdparty-oracle-java-beta: Server-OracleJava-x86_64-1d0b03c22583-240.pem
rhel-x86_64-workstation-7-thirdparty-oracle-java-beta: Workstation-OracleJava-x86_64-90d54814bf91-244.pem
[root@dhcp35-236 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-7/Client-OracleJava-x86_64-c1627f805e21-242.pem | tail -9
Product:
	ID: 242
	Name: Oracle Java (for RHEL Client)
	Version: 7.1 Beta
	Arch: x86_64
	Tags: rhel-7-client-oraclejava,rhel-7-oraclejava
	Brand Type: 
	Brand Name: 

[root@dhcp35-236 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-7/ComputeNode-OracleJava-x86_64-9f9042b06588-243.pem | tail -9
Product:
	ID: 243
	Name: Oracle Java (for RHEL Compute Node)
	Version: 7.1 Beta
	Arch: x86_64
	Tags: rhel-7-computenode-oraclejava,rhel-7-oraclejava
	Brand Type: 
	Brand Name: 

[root@dhcp35-236 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-7/Workstation-OracleJava-x86_64-90d54814bf91-244.pem | tail -9
Product:
	ID: 244
	Name: Oracle Java (for RHEL Workstation)
	Version: 7.1 Beta
	Arch: x86_64
	Tags: rhel-7-workstation-oraclejava,rhel-7-oraclejava
	Brand Type: 
	Brand Name:

[root@dhcp35-236 ~]# rct cat-cert /usr/share/rhsm/product/RHEL-7/Server-OracleJava-x86_64-1d0b03c22583-240.pem | tail -9 
Product:
	ID: 240
	Name: Oracle Java (for RHEL Server)
	Version: 7.1 Beta
	Arch: x86_64
	Tags: rhel-7-server-oraclejava,rhel-7-oraclejava
	Brand Type: 
	Brand Name:

Comment 6 errata-xmlrpc 2015-03-05 13:16:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0502.html