[RFE] Extend devmode.sh to deploy Openstack environment on OVB host clouds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Unassigned |
Bug Description
Background/
-------
Hardware resources are finite and invariably, in demand. With the exception of functionality like hardware provisioning, the vast majority of features, updates, and bug fixes could be developed and tested on Openstack deployments running in OVB host clouds - where the usage of hardware resources is optimized. Utilizing OVB host clouds to deploy Openstack environments is a viable, verified alternative to requiring dedicated hardware for the purposes of development and testing.
The Tripleo Quickstart devmode.sh script, https:/
on a virthost.
We need to either extend devmode.sh, or build an equivalent script, to allow developers
to build and test changes using OVB.
Proposed change:
----------------
There are a number of OVB host cloud available for use - with assigned tenant access. Also, various groups are setting up host clouds using their own assigned hardware. Whatever the host cloud of choice, the user should be able to provide the script (via exports or prompts) credentials:
* os_username
* os_password
* os_tenant_name
* os_auth_url
* openstack_
and devmode.sh (or an equivalent script) should be able to build and test the change on the matching OVB cloud.
Desired outcome:
----------------
A user should be able to:
1. setup a TripleO (openstack) environment in an OVB host cloud with TripleO Quickstart from the command line
2. specify patches to be built into the deployment on the OVB stack for testing
Open questions/
-------
- Since quotas in host clouds are also limited, the convention is for OVB jobs to clean up the environment and delete the OVB stack after a test has run. Since developers will using these environments for development and debugging, should we offer the option to skip the clean up and run the risk of polluting the environment and consuming resources?
- There is no plan to add functionality to set up the OVB host cloud to devmode.sh. The assumption is that the host cloud is already patched, and configured with the required images, flavors etc. to begin a deployment.
description: | updated |
Changed in tripleo: | |
milestone: | none → pike-2 |
milestone: | pike-2 → pike-1 |
no longer affects: | tripleo-quickstart |
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: quickstart |
Changed in tripleo: | |
milestone: | pike-1 → pike-2 |
Changed in tripleo: | |
milestone: | pike-2 → pike-3 |
Thanks for the excellent write up.
It seems like whether to add-on to devmode.sh or to create another script is also an open question. To me, the answer there would depend on how invasive the changes would need to be in order to add this.
For the teardown question, I think we should have an invocation of the script (devmode.sh or other) which does the teardown. It would then be the dev/user responsibility to clean up after themselves when they are done.
+1 to not including host cloud setup, that seems like a much different target audience.