Bug 697351

Summary: Telstra: RHEL 6 Client Entitlement Fails
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Chris Morgan <cmorgan>
Component: ToolsAssignee: Jay Dobies <jason.dobies>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: mmj, sghai, tsanders
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-31 12:58:30 UTC Type: ---
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: 688298    

Description Chris Morgan 2011-04-18 01:23:16 UTC
Description of problem:
Running a yum update after applying RHEL 6 entitlement configuration fails. In the yum config repo file, the rhel-server-6-releases section (as well as other RHEL 6 entries), references the *-auxiliary gpgkey which no longer exists in RHEL 6. We removed the line for now to get around this. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jay Dobies 2011-05-09 19:27:10 UTC
commit 290a8b310bf9ccf0521f28cfe37aa7b935a5bab2
Author: Jay Dobies <jason.dobies>
Date:   Mon May 9 15:24:51 2011 -0400

    697351 - Auxiliary key is no longer used

rhui-2.0/tools/etc/rhui/templates/client-repo-template.repo

Comment 2 Jay Dobies 2011-05-24 12:11:27 UTC
Fixed in 2.0.23.

Comment 3 Sachin Ghai 2011-06-08 09:34:12 UTC
Verified in rh-rhui-tools 2.0.26 build. 

path to Auxiliary key has been removed from "/etc/rhui/templates/client-repo-template.repo" 

Now "client-repo-template.repo" file looks like:

LABEL!]
name=!NAME!
mirrorlist=file:///etc/yum.repos.d/!MIRRORLIST!
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
sslverify=1
sslclientkey=/etc/pki/entitlement/key.pem
sslclientcert=/etc/pki/entitlement/product/content.crt
sslcacert=/etc/pki/entitlement/ca.crt


I tried yum install and its working fine. 

Downloading Packages:
zsh-4.3.10-4.1.el6.x86_64.rpm                                                                                                         | 2.1 MB     00:01     
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
rhel-server-6-releases/gpgkey                                                                                                         | 6.3 kB     00:00 ... 
Importing GPG key 0xFD431D51 "Red Hat, Inc. (release key 2) <security>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Is this ok [y/N]: y
Importing GPG key 0x2FA658E0 "Red Hat, Inc. (auxiliary key) <security>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : zsh-4.3.10-4.1.el6.x86_64                                                                                                             1/1 

Installed:
  zsh.x86_64 0:4.3.10-4.1.el6

Comment 4 wes hayutin 2011-08-01 21:41:04 UTC
moving to release pending

Comment 5 wes hayutin 2012-05-31 12:58:30 UTC
closing out, product released