Ansible based project for setting up TripleO virtual environments
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Zuul 2a10f0d115 Merge "Remove conditional dlrn_hash_tag current-tripleo in mixed OS jobs" 5 days ago
ci-scripts Correctly pass environment file to quickstart.sh in full-deploy.sh 8 months ago
config Merge "Remove conditional dlrn_hash_tag current-tripleo in mixed OS jobs" 5 days ago
doc Added fs067 for standalone ffu 3 weeks ago
library Run all linters via pre-commit 4 years ago
molecule/install-deps Move tox-molecule job to centos stream 8 10 months ago
playbooks Bump linters and remove dead code 1 year ago
releasenotes Switch to newer openstackdocstheme and reno versions 3 years ago
roles Delete existing dstat files during teardown 3 months ago
test_plugins Fix H102 Apache 2.0 license header not found 6 years ago
tests Remove explicit set for whole_disk_image: true 1 year ago
zuul.d Add tripleo-external-compute-deployment-pipeline to TQ 1 month ago
.ansible-lint Bump linters and remove dead code 1 year ago
.gitignore Remove developer tools from tripleo .gitignore 4 years ago
.gitreview OpenDev Migration Patch 4 years ago
.pre-commit-config.yaml Fix ansible-lint and tox-molecule failures 11 months ago
.yamllint Run all linters via pre-commit 4 years ago
Dockerfile Docker file for running quickstart in container 5 years ago
LICENSE Run all linters via pre-commit 4 years ago
README.rst Fix --install-deps bindep for quickstart.sh 4 years ago
ansible-collection-requirements.yml Choose version of Ansible OpenStack collection based on RDO release 1 month ago
ansible-role-requirements.yml Install roles with ansible-galaxy 8 months ago
ansible.cfg Add the default collection path to ansible.cfg 1 year ago
ansible_ssh_env.sh Use export in ansible_ssh_env file 6 years ago
bindep.txt Revert sudo and six workarounds for virtualenv 20.0.1 issues 3 years ago
devmode.sh OpenDev Migration Patch 2 4 years ago
fs-matrix.py Added fs067 for standalone ffu 3 weeks ago
install-deps.sh Increase verbosity of ansible-galaxy commands 4 months ago
molecule-requirements.txt Move tox-molecule job to centos stream 8 10 months ago
quickstart-extras-requirements.txt Install roles with ansible-galaxy 8 months ago
quickstart-role-requirements.txt Removing locking hash on undercloud post role 6 years ago
quickstart.sh Use Ansible OpenStack collection <2.0.0 for RHOS releases 1 month ago
requirements.txt Run CI with Ansible 2.11 1 year ago
setup.cfg Update docs building 3 years ago
setup.py Disable auto discovery as a workaround 8 months ago
test-requirements.txt Switch to newer openstackdocstheme and reno versions 3 years ago
tox.ini Rework requirements and drop pip-compile 1 year ago

README.rst

Team and repository tags

image

tripleo-quickstart

An up-to-date HTML version is available on docs.openstack.org.

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/tripleo-quickstart/

One of the barriers to entry for trying out TripleO and its derivatives has been the relative difficulty in getting an environment up quickly.

This set of ansible roles is meant to help.

Quickstart's default deployment method uses a physical machine, which is referred to as $VIRTHOST throughout this documentation. On this physical machine Quickstart sets up multiple virtual machines (VMs) and virtual networks using libvirt.

One of the VMs is set up as undercloud, an all-in-one OpenStack cloud used by system administrators to deploy the overcloud, the end-user facing OpenStack installation, usually consisting of multiple VMs.

You will need a $VIRTHOST with at least 16 GB of RAM, preferably 32 GB, and you must be able to ssh to the virthost machine as root without a password from the machine running ansible. Currently the virthost machine must be running a recent Red Hat-based Linux distribution (CentOS 7.x, RHEL 7.x). Other distributions could work but will not be supported with out CI validation.

Quickstart tool runs commands with superuser privileges as installing packages to the deployer system. The script should be run by a sudo user, e.g. deployer, which should be added to the sudoers configuration, as shown below:

deployer ALL=(ALL) NOPASSWD: ALL

Note

Running quickstart.sh commands as root is not suggested or supported.

The SSH server on your $VIRTHOST must be accessible via public keys for both the root and stack users.

A quick way to test that root to your virthost machine is ready to rock is:

ssh root@$VIRTHOST uname -a

The stack user is not added until the quickstart deploy runs, so this cannot be tested in advance. However, if you lock down on a per-user basis, ensure AllowUsers includes stack.

Timeouts can be an issue if the SSH server is configured to disconnect users after periods of inactivity. This can be addressed for example by:

ClientAliveInterval 120
ClientAliveCountMax 720

The quickstart defaults are meant to "just work", so it is as easy as downloading and running the quickstart.sh script.

Copyright 2015-2016 Red Hat, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.