Bug 1383031

Summary: [ocp-on-osp] Heat stack should be created if "rhn_pool" is not defined
Product: OpenShift Container Platform Reporter: Gan Huang <ghuang>
Component: InstallerAssignee: Jan Provaznik <jprovazn>
Status: CLOSED CURRENTRELEASE QA Contact: Gan Huang <ghuang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs, jokerman, jprovazn, mlamouri, mmccomas
Target Milestone: ---Keywords: Reopened
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: 2017-03-20 08:39:44 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-10-09 08:50:36 UTC
Description of problem:
If comment the parameter "rhn_pool", heat stack can't created.(passing additional repos by "extra_repository_urls" instead of using RHN account)

Version-Release number of selected component (if applicable):
openshift-on-openstack v0.9.1

How reproducible:
100%

Steps to Reproduce:
1.#cat ocp.yaml
parameters:
<--snip-->
  #rhn_username: "Your RHN Username"
  #rhn_password: "Your RHN Password"
  #sat6_hostname: ""
  #sat6_organization: ""
  #sat6_activationkey: ""
  #rhn_pool: ''
<--snip-->

2.#heat stack-create ghuang-test1 -t 10800 -e ocp.yaml -P extra_repository_urls="xxx.redhat.com/rhel.repo" -f /usr/share/openshift-on-openstack/openshift.yaml
WARNING (shell) "heat stack-create" is deprecated, please use "openstack stack create" instead
ERROR: The Parameter (rhn_pool) was not provided.

3.After uncomment "rhn_pool", heat stack created successfully, actually rhn_pool would not be used as I had passed additional repos by "extra_repository_urls".

Actual results:


Expected results:
Heat stack should be created successfully if "rhn_pool" is not defined

Additional info:

Comment 1 Jan Provaznik 2016-10-10 08:15:42 UTC
Addressed in this upstream patch:
https://github.com/redhat-openstack/openshift-on-openstack/pull/263

Comment 2 Jan Provaznik 2016-10-12 12:23:18 UTC
fixed in 0.9.2

Comment 3 Gan Huang 2016-10-13 05:16:58 UTC
Verified in 0.9.2