Bug 1037631

Summary: packstack: CONFIG_PROVISION_TEMPEST fails to generate valid tempest.conf
Product: [Community] RDO Reporter: Sunil Thaha <sthaha>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, gchamoul, mmagr, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: Icehouse   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-07 13:24:21 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 Sunil Thaha 2013-12-03 14:03:27 UTC
Description of problem:
----------------------

On an all-in-one install with CONFIG_PROVISION_TEMPEST set to 'y'. The /var/lib/tempest/etc/tempest.conf generated is incorrect. It doesn't set all the necessary endpoint urls properly. 

Since the url of the identity/keystone service is not set at all, all tests fail. 


Version-Release number of selected component (if applicable):
---------------------------------------------------------------
openstack-packstack-2013.2.1-0.15.dev847.fc20.noarch


How reproducible: Always
-----------------

Steps to Reproduce:
-------------------
1. packstack --gen-answer-file
2. set CONFIG_PROVISION_TEMPEST to y
3. Run packstack --answer-file=<answer-file>
4. Check the /var/lib/tempest/etc/tempest.conf to find the Keystone-endpoint not set at all.

Expected results:
----------------
The tempest config file should be generated properly and should respect the various sections in the tempest.conf ini file. 

For e.g.: th public_network_id and the image_ref, image_ref_alt should be in the appropriate section of the ini file.