tripleo.sh is a script that can be used to help bootstrap development environments. It automates many of the steps in this documentation to help get setup faster. It’s opinionated automation around other production tooling (python-tripleoclient , etc). tripleo.sh is also used by tripleo-ci to test TripleO patches.
tripleo.sh is from the tripleo-ci project. git clone tripleo-ci, and the script is under the scripts/ directory:
git clone https://git.openstack.org/openstack-infra/tripleo-ci
tripleo-ci/scripts/tripleo.sh --help
The tripleo.sh script is intended to run on an new instack undercloud setup. That is, you would follow the environment setup docs through to and including instack-virt-setup (for a virt setup), ssh onto the resulting undercloud node and then run tripleo.sh with the options identified below.
The help text shows what options are available, and the options are listed in corresponding order with how a TripleO deployment is done.
Repository setup:
tripleo-ci/scripts/tripleo.sh --repo-setup
Installing the undercloud:
tripleo-ci/scripts/tripleo.sh --undercloud
Building overcloud images:
tripleo-ci/scripts/tripleo.sh --overcloud-images
Registering nodes:
tripleo-ci/scripts/tripleo.sh --register-nodes
Introspect nodes:
tripleo-ci/scripts/tripleo.sh --introspect-nodes
Deploy overcloud:
tripleo-ci/scripts/tripleo.sh --overcloud-deploy
Alternatively, all of the above options can be execute at once with:
tripleo-ci/scripts/tripleo.sh --all
Test overcloud:
tripleo-ci/scripts/tripleo.sh --overcloud-pingtest
Requirements for testing the overcloud: overcloudrc file (Located by default in the undercloud current user’s directory).
This option will check that the overcloud is able to create a stack, testing several OpenStack components in the process. The following steps are made in order to check the stack creation:
After the test, the created resources are deleted.
Certain values and assumptions can be changed via environment variables. See the tripleo.sh source code for details.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.