Bug 1378015

Summary: [ocp-on-osp] Should document the usage of RHN account and extra_repository_urls
Product: OpenShift Container Platform Reporter: Gan Huang <ghuang>
Component: InstallerAssignee: Mark Lamourine <mlamouri>
Status: CLOSED CURRENTRELEASE QA Contact: Gan Huang <ghuang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs, jokerman, mlamouri, mmccomas, scollier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-10 13:49:02 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:

Description Gan Huang 2016-09-21 10:25:07 UTC
Description of problem:
As the official RHEL image has no repos enabled and os-collect-* software installed, so we must enabled the OpenStack, RHEL repos to install the packages during cloud-init, or the heat stack would fail due to no os-collect-* can't be installed successfully. We should document it to make it clear.

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

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
We need to ensure at leat OpenStack, OpenStack director, RHEL, rhel-extra and OpenShift repos/channels are present in the instances.
1. For RHN account setting, OpenStack and RHEL pool-ids must be enabled
2. For repos file passed by "extra_repository_urls", OpenStack OpenStack dirand OpenStack, OpenStack director, RHEL, rhel-extra and OpenShift repos must be given.

Additional info:

Comment 1 scollier 2016-09-21 10:25:56 UTC
Adding Mark so this can be covered in the reference architecture.

Comment 3 Mark Lamourine 2016-09-21 15:10:00 UTC
Is there a specific document that you are working from which lacks this information?  I am including it in the OSE on OSP reference architecture document.

In that case the OpenStack repos and the os-collect-* packages are added after the instances are booted, though it can be done using cloud-init.

Comment 4 Gan Huang 2016-09-29 11:07:44 UTC
Hi Mark,

Sorry for the delay. :)

I just follow https://github.com/redhat-openstack/openshift-on-openstack/blob/master/README.adoc, looks like not including the instruction about repos/RHN account setting.

Comment 5 Mark Lamourine 2016-10-06 15:53:47 UTC
Added the required repo list to the README.adoc file

commit a6f8620043576f420b8c2b4ae271f52f8325e61d
Merge: 61c8cab 36bc9f8
Author: Jan Provaznik <jan.provaznik>
Date:   Thu Oct 6 17:31:12 2016 +0200

    Merge pull request #260 from markllama/add-repo-info
    
    add required RPM repos for RHEL install

https://github.com/redhat-openstack/openshift-on-openstack#red-hat-software-repositories

Please confirm so I can close.

Thank you!

- Mark

Comment 6 Gan Huang 2016-10-09 02:01:43 UTC
Looks good to me, thanks!