Bug 1432972

Summary: /etc/pki/product/69.pem shows version as 6.8 for RHGS3.2.0(6.9)
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rahul Hinduja <rhinduja>
Component: buildAssignee: Milind Changire <mchangir>
Status: CLOSED ERRATA QA Contact: Rahul Hinduja <rhinduja>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhgs-3.2CC: rcyriac, rhs-bugs, sgirijan, storage-qa-internal
Target Milestone: ---   
Target Release: RHGS 3.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: redhat-storage-server-3.2.0.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-23 05:11:47 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: 1351528    

Description Rahul Hinduja 2017-03-16 13:31:09 UTC
Description of problem:
=======================

Product version shown as 6.8 for RHGS3.2 on 69.pem certificate. It should be 6.9

[root@test-vm ~]# rct cat-cert /etc/pki/product/69.pem

+-------------------------------------------+
	Product Certificate
+-------------------------------------------+

Certificate:
	Path: /etc/pki/product/69.pem
	Version: 1.0
	Serial: 12750047592154746867
	Start Date: 2016-03-17 20:31:09+00:00
	End Date: 2036-03-12 20:31:09+00:00

Subject:
	CN: Red Hat Product ID [06641130-0736-484c-bcdd-dbcde98ac10a]

Issuer:
	C: US
	CN: Red Hat Entitlement Product Authority
	O: Red Hat, Inc.
	OU: Red Hat Network
	ST: North Carolina
	emailAddress: ca-support

Product:
	ID: 69
	Name: Red Hat Enterprise Linux Server
	Version: 6.8 <====================== This should be 6.9
	Arch: x86_64
	Tags: rhel-6,rhel-6-server
	Brand Type: 
	Brand Name: 

[root@test-vm ~]# 
[root@test-vm ~]# rpm -qf /etc/pki/product/69.pem
redhat-storage-server-3.2.0.2-1.el6rhs.noarch
[root@test-vm ~]# 

Looked on the RHEL6.9 and there do not seem to be any certificate available. Not sure about the reason we started generating certificated. 

[root@dhcp37-50 ~]#  rct cat-cert /etc/pki/product/69.pem
The specified certificate file does not exist.
[root@dhcp37-50 ~]# ls /etc/pki/product/
[root@dhcp37-50 ~]# uname -a
Linux dhcp37-50.lab.eng.blr.redhat.com 2.6.32-696.el6.x86_64 #1 SMP Tue Feb 21 00:53:17 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@dhcp37-50 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.9 (Santiago)
[root@dhcp37-50 ~]#

Comment 2 Milind Changire 2017-03-16 18:35:09 UTC
built redhat-storage-server-3.2.0.3-1.el6rhs with product certificate update for RHEL 6.9

Comment 4 Rahul Hinduja 2017-03-17 08:08:42 UTC
Verified by upgrading the package. certificate file correctly shows version: 6.9. Moving this bug to verified state.

[root@test-vm ~]# rpm -qf /etc/pki/product/69.pem
redhat-storage-server-3.2.0.2-1.el6rhs.noarch
[root@test-vm ~]# rct cat-cert /etc/pki/product/69.pem

+-------------------------------------------+
	Product Certificate
+-------------------------------------------+

Certificate:
	Path: /etc/pki/product/69.pem
	Version: 1.0
	Serial: 12750047592154746867
	Start Date: 2016-03-17 20:31:09+00:00
	End Date: 2036-03-12 20:31:09+00:00

Subject:
	CN: Red Hat Product ID [06641130-0736-484c-bcdd-dbcde98ac10a]

Issuer:
	C: US
	CN: Red Hat Entitlement Product Authority
	O: Red Hat, Inc.
	OU: Red Hat Network
	ST: North Carolina
	emailAddress: ca-support

Product:
	ID: 69
	Name: Red Hat Enterprise Linux Server
	Version: 6.8
	Arch: x86_64
	Tags: rhel-6,rhel-6-server
	Brand Type: 
	Brand Name: 

[root@test-vm ~]# rpm -iUh redhat-storage-server-3.2.0.3-1.el6rhs.noarch.rpm 
########################################### [100%]
########################################### [100%]
[root@test-vm ~]# rpm -qa | grep redhat-storage
redhat-storage-server-3.2.0.3-1.el6rhs.noarch
redhat-storage-logos-60.0.20-1.el6rhs.noarch
[root@test-vm ~]# 
[root@test-vm ~]# rct cat-cert /etc/pki/product/69.pem

+-------------------------------------------+
	Product Certificate
+-------------------------------------------+

Certificate:
	Path: /etc/pki/product/69.pem
	Version: 1.0
	Serial: 12750047592154746929
	Start Date: 2016-10-20 15:38:44+00:00
	End Date: 2036-10-15 15:38:44+00:00

Subject:
	CN: Red Hat Product ID [f9bc87d4-b0c5-4378-8c82-1b61098b4799]

Issuer:
	C: US
	CN: Red Hat Entitlement Product Authority
	O: Red Hat, Inc.
	OU: Red Hat Network
	ST: North Carolina
	emailAddress: ca-support

Product:
	ID: 69
	Name: Red Hat Enterprise Linux Server
	Version: 6.9
	Arch: x86_64
	Tags: rhel-6,rhel-6-server
	Brand Type: 
	Brand Name: 

[root@test-vm ~]# rpm -qf /etc/pki/product/69.pem
redhat-storage-server-3.2.0.3-1.el6rhs.noarch
[root@test-vm ~]#

Comment 6 errata-xmlrpc 2017-03-23 05:11:47 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/RHSA-2017-0484.html