Make tripleo third party ci toolset tripleo-quickstart¶
Devstack being the reference CI deployment of OpenStack does a good job at running both in CI and locally on development hardware. TripleO-Quickstart (TQ)``_ and TripleO-QuickStart-Extras (TQE) can provide an equivalent experience like devstack both in CI and on local development hardware. TQE does a nice job of breaking down the steps required to install an undercloud and deploy and overcloud step by step by creating bash scripts on the developers system and then executing them in the correct order.
Currently there is a population of OpenStack developers that are unfamiliar with TripleO and our TripleO CI tools. It’s critical that this population have a tool which can provide a similar user experience that devstack currently provides OpenStack developers.
Recreating a deployment failure from TripleO-CI can be difficult for developers outside of TripleO. Developers may need more than just a script that executes a deployment. Ideally developers have a tool that provides a high level overview, a step-by-step install process with documentation, and a way to inject their local patches or patches from Gerrit into the build.
Additionally there may be groups outside of TripleO that want to integrate additional code or steps to a deployment. In this case the composablity of the CI code is critical to allow others to plugin, extend and create their own steps for a deployment.
Replace the tools found in openstack-infra/tripleo-ci that drive the deployment of tripleo with TQ and TQE.
One alternative is to break down TripleO-CI into composable shell scripts, and improve the user experience .
No known additional security vulnerabilities at this time.
Other End User Impact¶
We expect that newcomers to TripleO will have an enhanced experience reproducing results from CI.
Using an undercloud image with preinstalled rpms should provide a faster deployment end-to-end.
Other Deployer Impact¶
None at this time.
This is the whole point really and discussed elsewhere in the spec. However, this should provide a quality user experience for developers wishing to setup TripleO.
TQE provides a step-by-step, well documented deployment of TripleO. Furthermore, and is easy to launch and configure:
bash quickstart.sh -p quickstart-extras.yml -r quickstart-extras-requirements.txt --tags all <development box>
Everything is executed via a bash shell script, the shell scripts are customized via jinja2 templates. Users can see the command prior to executing it when running it locally. Documentation of what commands were executed are automatically generated per execution.
Node registration and introspection example:¶
Generated rst documentation:
Overcloud Deployment example:¶
Generated rST documentation:
Step by Step Deployment:¶
There are times when a developer will want to walk through a deployment step-by-step, run commands by hand, and try to figure out what exactly is involved with a deployment. A developer may also want to tweak the settings or add a patch. To do the above the deployment can not just run through end to end.
TQE can setup the undercloud and overcloud nodes, and then just add add already configured scripts to install the undercloud and deploy the overcloud successfully. Essentially allowing the developer to ssh to the undercloud and drive the installation from there with prebuilt scripts.
./quickstart.sh --no-clone --bootstrap --requirements quickstart-extras-requirements.txt --playbook quickstart-extras.yml --skip-tags undercloud-install,undercloud-post-install,overcloud-deploy,overcloud-validate --release newton <development box>
TQE is not a single tool, it’s a collection of composable Ansible roles. These Ansible roles can coexist in a single Git repository or be distributed to many Git repositories. See “Additional References.”
Why have two projects? Why risk adding complexity? One of the goals of the TQ and TQE is to not assume we are writing code that works for everyone, on every deployment type, and in any kind of infrastructure. To ensure that TQE developers can not block outside contributions (roles, additions, and customization to either TQ or TQE), it was thought best to uncouple as well and make it as composable as possible. Ansible playbooks after all, are best used as a method to just call roles so that anyone can create playbooks with a variety of roles in the way that best suits their purpose.
- Primary assignee:
- Other contributors:
A decision needs to be made regarding 
The work to enable third party testing in rdoproject needs to be completed
There is a work in progress testing TQE against the RH2 OVB cloud atm . TQE has been vetted for quite some time with OVB on other clouds.
What is the impact on the docs? Don’t repeat details discussed above, but please reference them here.
TQE Ansible role library¶
https://github.com/redhat-openstack/ansible-role-tripleo-ssl ( under development )
Post Deployment roles: