Bug 1488126

Summary: [RFE] Refactor python-tempestconf codebase to automatically generate required tempest config
Product: Red Hat OpenStack Reporter: Chandan Kumar <chkumar>
Component: python-tempestconfAssignee: Chandan Kumar <chkumar>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Kopec <mkopec>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: apannu, chkumar, lnatapov, mmagr, sclewis, whayutin
Target Milestone: z3Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tempestconf-2.0.0-0.20180821043805.d7db90e.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-14 13:35:56 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:
Embargoed:
Bug Depends On: 1562085, 1564866, 1599753    
Bug Blocks:    

Description Chandan Kumar 2017-09-04 11:54:44 UTC
Goal: Refactor python-tempestconf codebase to automatically generate required tempest config

Problem:
During Ocata Cycle, we have decoupled config_tempest.py script from tempest to a separate repo [https://github.com/redhat-openstack/python-tempestconf].
It is used to automatically generate tempest.conf for a cloud. It currently covers the config generation of core OpenStack services.
The python-tempestconf code base is quite old and lots of hacks are added to generate tempest.conf and also lacks the coverage of other services.
Currently, the users need to pass additional params as a default overrides which is overridden by tempest conf while generating tempest.conf. 
Passing a long list of additional params is hard, it is better these additional params need to be handled by the config tool itself.

Solution:
* Refactor the current codebase of python-tempestconf in order to cover the core services and make the CLI interfaces stable.
* Provide a way to auto generate the tempest config based on the availability of services.
* An End user can easily generate tempest.conf in one go.
* An End user does not need to install tempest plugins manually.

Completion Criteria:
* Release a new version of python-tempestconf tool which can be easily consumed by enduser.

Comment 15 Martin Kopec 2019-01-14 13:35:34 UTC
Major refactoring of python-tempestconf had been finished and has been part of python-tempestconf-2.0.0-0 (and higher).

The package is available for RHOS 13, where the rebase process was tracked by:
https://bugzilla.redhat.com/show_bug.cgi?id=1621205
and is available for RHOS 14, where the rebase process was tracked by:
https://bugzilla.redhat.com/show_bug.cgi?id=1622011

Based on the above, I'm marking this bug as VERIFIED and CLOSED as CURRENTRELEASE.