Avoids use of ignore_errors while loading OS specific variables
Implements pattern described in: https://github.com/ansible/ansible/issues/38227 Example of confusing output before this change: https://ci.centos.org/job/tripleo-quickstart-extras-gate-master-delorean-full-featureset052/1604/consoleFull Change-Id: I923ab325df699abe2f6d69b5b484b154558e423a Partial-Bug: #1787912
|8 months ago|
|ci-scripts||2 months ago|
|config||2 weeks ago|
|doc/source||2 months ago|
|library||6 months ago|
|molecule||1 month ago|
|playbooks||6 months ago|
|releasenotes||2 months ago|
|roles||1 week ago|
|test_plugins||3 years ago|
|tests||3 weeks ago|
|zuul.d||1 month ago|
|.ansible-lint||6 months ago|
|.gitignore||8 months ago|
|.gitreview||2 months ago|
|.pre-commit-config.yaml||3 months ago|
|.yamllint||6 months ago|
|Dockerfile||1 year ago|
|LICENSE||6 months ago|
|README.rst||2 months ago|
|ansible-role-requirements.yml||6 months ago|
|ansible.cfg||5 months ago|
|ansible_ssh_env.sh||2 years ago|
|bindep.txt||1 month ago|
|devmode.sh||2 months ago|
|install-deps.sh||1 month ago|
|quickstart-extras-requirements.txt||2 months ago|
|quickstart-role-requirements.txt||2 years ago|
|quickstart.sh||2 months ago|
|requirements.txt||4 weeks ago|
|setup.cfg||1 month ago|
|setup.py||3 years ago|
|test-requirements.txt||6 months ago|
|tox.ini||3 weeks ago|
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
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
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
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
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.