Tempest config generator

Registered by Boris Pavlovic

To simplify usage of tempest, especially for newbie, we should add tool that will generate tempest.conf from presented cloud endpoints. It is not trivial task because tempest.conf depends on specification of cloud.

So at this moment we are doing experiments inside project Rally, that makes it easier to play with it:
https://blueprints.launchpad.net/rally/+spec/tempest-verification

In parallel we are going to work inside tempest on it, so when we finish tempest.conf we will fully remove generation of tempst.conf from Rally.

dkranz:
This script should:
1. Query the deployment and create what users/images/networks/flavors/etc that tempest is expecting if not already present.
2. Query the deployment for available services. This may be tricky since I don't think all of OpenStack is yet auto-discoverable.
3. Create the files on the local machine that tempest expects. There are a lot of options in tempest that refer to files and these files are not installed as part of tempest.

This script should be integrated into the gate where the deployment is created by devstack.

Blueprint information

Status:
Started
Approver:
David Kranz
Priority:
Undefined
Drafter:
Boris Pavlovic
Direction:
Needs approval
Assignee:
David Kranz
Definition:
Review
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Boris Pavlovic

Related branches

Sprints

Whiteboard

INPROGRESS: Investigation what we need inside Rally
TODO: Move tempest config generation to tempest code base

Gerrit topic: https://review.openstack.org/#q,topic:bp/tempest-config-generator,n,z

Addressed by: https://review.openstack.org/75425 <- why it was abandoned? can we continue to work with it or we need to redesign it?
    Script to generate tempest.conf for a deployment

Addressed by: https://review.openstack.org/133245
    Prototype for tempest configuration and discovery

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.