Bug 1205707

Summary: ISO install does not add pem files during installation
Product: Red Hat Quickstart Cloud Installer Reporter: jcallaha
Component: Installation - RHCIAssignee: Jason Montleon <jmontleo>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: high Docs Contact: Dan Macpherson <dmacpher>
Priority: unspecified    
Version: 1.0CC: apagac, bthurber, jmatthew, smallamp, tcarlin, tpapaioa
Target Milestone: gaKeywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-13 16:25:16 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:

Description jcallaha 2015-03-25 13:43:24 UTC
Description of problem:
When using the RHCI ISO to install RHEL7 and RHCI products on a system, no pem files are populated in /etc/pki/product. As a result, subscription manager does not recognize products are installed and customers are unable to install RH repos.

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

How reproducible:
Always

Steps to Reproduce:
1. Use the RHCI ISO to install RHCI products
2. Run `subscription-manager list`
3. View results

Actual results:
subscription manager returns `no products installed`

Expected results:
subscription manager correctly returns a list of products that RHCI installs

Additional info:
thomasmckay has provided a link below to pem files that may be used to populate the /etc/pki/product directory.

[1] https://mojo.redhat.com/docs/DOC-103535

Comment 1 John Matthews 2015-04-30 13:40:21 UTC
Plan to learn how rel-eng addresses this for RHEL ISOs and follow same process.

Comment 2 John Matthews 2015-08-12 19:28:35 UTC
QE please re-test

Comment 3 Thom Carlin 2015-08-19 12:39:16 UTC
"subscription manager list" is run on Sat 6 (RHCI) server where RHCI is installed.  It can be run anytime after Anaconda finishes and the system reboots.

On tech preview rc-1, still receive "No installed products to list"

Comment 4 John Matthews 2015-08-21 19:57:42 UTC
Using ISO RHCI-6.0-RHEL-7-20150821.0-RHCI-x86_64-dvd1.iso


I now see that subscription-manager list shows

"Red Hat Cloud Infrastructure"

I was able to run:
subscription-manager register
subscription-manager attach --auto


subscription-manager repos  now shows repos are available.


Moving to ON_QA to ask for QE to examine if this is sufficient.

Comment 5 Thom Carlin 2015-08-21 20:48:33 UTC
Product Name is still "Red Hat Cloud Infrastructure" and Repos Names contain the same string.

Testing using:
subscription-manager repos --enable=rhci-6-for-rhel-7-preview-rpms --enable=rhcs-6-for-rhel-7-rpms"

Comment 9 John Matthews 2015-08-26 19:27:13 UTC
This issue is still present in ISO of 826.1

Comment 10 John Matthews 2015-08-28 20:58:37 UTC
Let's recheck with 8/28.2.

rel-eng has updated the certs

Comment 11 Thom Carlin 2015-08-31 18:01:28 UTC
works with tech preview rc-4

Comment 13 Thom Carlin 2016-02-08 14:27:03 UTC
TP2 RC8 has regression:

subscription-manager list

No installed products to list

Comment 14 John Matthews 2016-02-09 12:54:47 UTC
TP2 RC9 has the fix

Comment 17 Tasos Papaioannou 2016-06-23 16:23:56 UTC
Verified on QCI-1.2-RHEL-7-20160621.t.0.

Comment 22 errata-xmlrpc 2016-09-13 16:25:16 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://access.redhat.com/errata/RHEA-2016:1862