Ansible playbooks for deploying OpenStack.
Go to file
Nolan Brubaker 59aaac0cb5 Only insert container hosts into lxc_hosts
This change introduces a set of functions for dynamically populating the
lxc_hosts function on each inventory run. Any previous membership is
overwritten each time. The output is written to the
openstack_inventory.json still in order to provide parity with the
values provided to the ansible executable on stdout.

Previous code was fairly naive, inserting hosts into lxc_hosts when they
were marked as `is_metal`. This would add hosts, such as Ceph, that
were on metal but had no LXC containers.

A previous attempt at fixing this changed the _build_container_hosts
function to provide more information about the container build process,
then used that data in the _append_host_containers function to populate
the lxc_hosts group. However, this approach failed due to limited
information in each pass of the loop - if a node was an AIO, it might be
erroneously removed from the lxc_hosts group because a container wasn't
built on a given pass, and due to ordering, that pass may be the last
one of the loop.

To get around such problems, this code instead processes the inventory
in whole, after all containers have been made. Population into the group
is determined according to whether or not a given host's `physical_host`
hostvar matches the host name.

Change-Id: I9f3336f77cd0ef05fe1c7edeaf7defc6d93c3111
Closes-Bug: #1660996
2017-02-28 20:43:48 +00:00
deploy-guide/source Add CentOS support for AIO setup 2017-02-17 15:53:01 +00:00
doc Update doc index for Pike 2017-02-23 15:07:51 -05:00
etc Remove security role from user_variables.yml 2017-02-17 15:39:54 +00:00
lib Only insert container hosts into lxc_hosts 2017-02-28 20:43:48 +00:00
playbooks Update keystone SHA to support db_sync check 2017-02-28 19:20:03 +00:00
releasenotes Only insert container hosts into lxc_hosts 2017-02-28 20:43:48 +00:00
scripts Use setuptools 33.1.1 2017-02-23 14:56:17 +00:00
tests Only insert container hosts into lxc_hosts 2017-02-28 20:43:48 +00:00
.gitignore [DOCS] Adds a cookie cutter deploy guide for d.o.o 2016-11-18 13:27:57 +00:00
.gitreview Update .gitreview for project rename 2015-09-11 20:58:10 +00:00
ansible-role-requirements.yml Revert role pins in master branch 2017-02-08 10:41:05 +00:00
ansible-role-requirements.yml.example Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
bindep.txt Replace github with git.o.o 2016-11-03 12:09:05 +11:00
global-requirement-pins.txt Use setuptools 33.1.1 2017-02-23 14:56:17 +00:00
LICENSE.txt Correct path to callback plugins in gate script 2016-02-01 16:52:54 +00:00
README.rst Fix broken install guide link 2017-02-21 14:18:18 -05:00
requirements.txt Merge "Use an explicit version of urrlib3" 2017-02-28 16:06:00 +00:00
setup.cfg Update the home-page info with the developer documentation 2016-08-01 06:57:14 +00:00
setup.py Updated from global requirements 2016-07-15 12:58:23 +00:00
test-requirements.txt Updated from global requirements 2017-02-10 05:55:14 +00:00
tox.ini Ensure that tox uses global pins 2017-01-24 15:15:50 +00:00

Team and repository tags

image

OpenStack-Ansible

OpenStack-Ansible is an official OpenStack project which aims to deploy production environments from source in a way that makes it scalable while also being simple to operate, upgrade, and grow.

For an overview of the mission, repositories and related Wiki home page, please see the formal Home Page for the project.

For those looking to test OpenStack-Ansible using an All-In-One (AIO) build, please see the Quick Start guide.

For more detailed Installation and Operator documentation, please see the Deployment Guide.

If OpenStack-Ansible is missing something you'd like to see included, then we encourage you to see the Developer Documentation for more details on how you can get involved.

Developers wishing to work on the OpenStack-Ansible project should always base their work on the latest code, available from the master GIT repository at Source.

If you have some questions, or would like some assistance with achieving your goals, then please feel free to reach out to us on the OpenStack Mailing Lists (particularly openstack-operators or openstack-dev) or on IRC in #openstack-ansible on the freenode network.

OpenStack-Ansible Roles

OpenStack-Ansible offers separate role repositories for each individual role that OpenStack-Ansible supports. For individual role documentation see the Role Documentation in the OpenStack-Ansible documentation.

An individual role's source code can be found at: http://git.openstack.org/cgit/openstack/openstack-ansible-<ROLENAME>.