Ansible playbooks for deploying OpenStack.
Go to file
Jonathan Rosser c76a4d5dfe Do not create {hostname}-host_containers group as child of other groups
The existing code adds entries like aio1-host_containers as a child group
of many other container type groups in the inventory.

The side effect is that the ansible magic variable group_names for
a particular LXC container lists many group names associated with
all of the containers on its physical host.

Roles such as os_ironic create several containers and use conditional
logic to deploy the correct components into each container using the
contents of group_names. This does not work correctly when group_names
contains all of the possible ironic container groups.

This patch removes the code which adds host container groups as
children of other container type groups.

Removal of the {hostname}-host_containers group from each container
reveals a further bug, where any belongs_to directives in env.d
file container_skel sections were not processed. There is different
functionality in skel_load() and container_skel_load() which is the
cause of this.

This patch adds a call to _parse_belongs_to() into
container_skel_load() so that any groups defined with 'belongs_to'
in container_skel are correctly added as children to the
corresponding parent group.

Change-Id: Ic76b2c211484fb107d8d23f4ef6e6cc9a4ddec4f
2022-08-02 21:06:20 +00:00
deploy-guide/source [doc] Add CentOS 9 Stream to supported 2022-05-31 18:18:50 +02:00
doc Continue Zed development 2022-07-05 19:31:23 +00:00
etc Merge "Add ability to define bridge type for containers" 2022-06-13 10:09:40 +00:00
inventory rabbitmq: default to using TLS for management user interface 2022-07-27 13:54:38 +01:00
osa_toolkit Do not create {hostname}-host_containers group as child of other groups 2022-08-02 21:06:20 +00:00
playbooks Fix cloud.openstack.* modules 2022-07-26 11:16:25 -04:00
releasenotes Merge "rabbitmq: default to using TLS for management user interface" 2022-07-29 10:16:42 +00:00
scripts Continue Zed development 2022-07-05 19:31:23 +00:00
tests Merge "Stop NetworkManager on centos 9." 2022-06-17 23:21:39 +00:00
zuul.d zuul: fix definition of centos 9 stream job 2022-07-27 15:29:46 +01:00
.ansible-lint Bump ansible-lint version 2021-05-31 10:03:26 +00:00
.gitignore Remove non-working dynamic build of AIO scenario table 2018-09-16 10:49:29 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:48:42 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2020-05-14 18:05:24 +03:00
LICENSE.txt Correct path to callback plugins in gate script 2016-02-01 16:52:54 +00:00
README.rst Update contributors guide to reflect IRC network change 2021-06-01 09:24:04 +00:00
Vagrantfile Remove support for Ubuntu Bionic 2021-12-15 13:22:10 +00:00
ansible-collection-requirements.yml Continue Zed development 2022-07-05 19:31:23 +00:00
ansible-role-requirements.yml Continue Zed development 2022-07-05 19:31:23 +00:00
ansible-role-requirements.yml.example Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
bindep.txt Remove python2 packages from bindep.txt 2020-09-30 06:53:58 +00:00
global-requirement-pins.txt Update pip and wheel to latest versions 2022-07-11 08:24:20 +01:00
requirements.txt Re-adding PrettyTable dependency 2021-04-03 06:08:03 +00:00
run_tests.sh Add support for running on Rocky Linux 2022-03-10 09:36:20 +00:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-04-27 23:03:52 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:03 +00:00
test-requirements.txt Update ansible-lint version 2022-01-10 14:54:43 +02:00
tox.ini skip -W on sphinx-build for translation. 2021-08-18 08:43:06 +00:00

README.rst

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-discuss) or on IRC in #openstack-ansible on the OFTC network.

OpenStack-Ansible Roles

OpenStack-Ansible offers separate role repositories for each individual role that OpenStack-Ansible supports. For individual role configuration options, see the Role Documentation.

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

Resources