Bug 1383031 - [ocp-on-osp] Heat stack should be created if "rhn_pool" is not defined
Summary: [ocp-on-osp] Heat stack should be created if "rhn_pool" is not defined
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jan Provaznik
QA Contact: Gan Huang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-09 08:50 UTC by Gan Huang
Modified: 2017-03-20 08:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-20 08:39:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.