PackStack was provisioning Tempest with demo objects even if the flag CONFIG_PROVISION_DEMO was disabled. This fix makes these flags independent.
Now you can install Tempest in a standalone mode or with the provisioning user of your choice.
This fix adds two new config options:
- CONFIG_PROVISION_TEMPEST_USER (blank by default)
- CONFIG_PROVISION_TEMPEST_USER_PW
1) If CONFIG_PROVISION_TEMPEST is enabled and CONFIG_PROVISION_TEMPEST_USER stays blank, PackStack will provision Tempest in a standalone mode.
2) If CONFIG_PROVISION_TEMPEST_USER is set with a user, PackStack will provision tempest with this user. Note that you always will be able to use the demo user for provisioning tempest. In this case, if CONFIG_PROVISION_DEMO is enabled, PackStack will use the demo password from CONFIG_KEYSTONE_DEMO_PW.
If CONFIG_PROVISION_DEMO is not enabled, it will use CONFIG_PROVISION_TEMPEST_USER_PW.
Created attachment 911136[details]
packstack answer file
Description of problem:
=======================
packstack ignores CONFIG_PROVISION_DEMO set to n.
Dispite the fact that CONFIG_PROVISION_DEMO=n, it creats the default public network: CONFIG_PROVISION_DEMO_FLOATRANGE=172.24.4.224/28
Version-Release number of selected component (if applicable):
=============================================================
openstack-packstack-2014.1.1-0.26.dev1157.el7ost.noarch
openstack-packstack-puppet-2014.1.1-0.26.dev1157.el7ost.noarch
How reproducible:
=================
Tested one time.
Steps to Reproduce:
===================
1. Use the attached answer file with packstack:
Actual results:
===============
192.168.160.29_provision.pp.log:Debug: Executing '/usr/bin/neutron subnet-create --format=shell --name=public_subnet --enable-dhcp=False --tenant_id=2ffbec4f8cc9427f8ba88062acdd0052 public 172.24.4.224/28'
Expected results:
=================
packstack should not create that network.
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.
http://rhn.redhat.com/errata/RHBA-2014-0930.html
Created attachment 911136 [details] packstack answer file Description of problem: ======================= packstack ignores CONFIG_PROVISION_DEMO set to n. Dispite the fact that CONFIG_PROVISION_DEMO=n, it creats the default public network: CONFIG_PROVISION_DEMO_FLOATRANGE=172.24.4.224/28 Version-Release number of selected component (if applicable): ============================================================= openstack-packstack-2014.1.1-0.26.dev1157.el7ost.noarch openstack-packstack-puppet-2014.1.1-0.26.dev1157.el7ost.noarch How reproducible: ================= Tested one time. Steps to Reproduce: =================== 1. Use the attached answer file with packstack: Actual results: =============== 192.168.160.29_provision.pp.log:Debug: Executing '/usr/bin/neutron subnet-create --format=shell --name=public_subnet --enable-dhcp=False --tenant_id=2ffbec4f8cc9427f8ba88062acdd0052 public 172.24.4.224/28' Expected results: ================= packstack should not create that network.