Ansible deployment of the Kolla containers
Go to file
Radosław Piliszek 767f1e4b23 Check config when checking the containers
The proposed approach allows for checking whether config
files are current, e.g. cases when the deployment was aborted after
config files were generated but before they were injected into the
containers which lead to old config staying in containers.

After this patch we can do:
  kolla-ansible genconfig
  kolla-ansible deploy-containers
and it would do what we expected rather than being a noop
in the second part.

We also lose the need to have notifies
and whens in config and handler sections respectively.
This is optimised in a separate patch.

Future work:
- optimise for large files
  - could we get away with comparing timestamps and sizes?
    container's should have a newer timestamp due to copy,
    could also preserve it

Change-Id: I1d26e48e1958f13b854d8afded4bfba5021a2dec
Closes-Bug: #1848775
Depends-On: https://review.opendev.org/c/openstack/kolla/+/773257
Co-Authored-By: Mark Goddard <mark@stackhpc.com>
(cherry picked from commit c3afbd3c5e)
2021-08-06 06:04:26 +00:00
ansible Check config when checking the containers 2021-08-06 06:04:26 +00:00
contrib Update docs for Ubuntu 20.04 2020-11-20 08:40:36 +00:00
deploy-guide/source [docs] Unify project's naming convention 2021-01-27 20:08:41 +01:00
doc Merge "Use ansible_facts to reference facts" into stable/wallaby 2021-07-29 10:05:42 +00:00
etc/kolla Reduce RabbitMQ busy waiting, lowering CPU load 2021-07-02 15:41:08 +00:00
kolla_ansible Use ansible_facts to reference facts 2021-07-28 14:11:50 +01:00
releasenotes Check config when checking the containers 2021-08-06 06:04:26 +00:00
roles Revert "cephadm: Set auth_allow_insecure_global_id_reclaim to true" 2021-07-29 15:45:46 +00:00
specs [docs] Unify project's naming convention 2021-01-27 20:08:41 +01:00
tests Check config when checking the containers 2021-08-06 06:04:26 +00:00
tools Fix exit code with bogus command name 2021-07-26 08:55:29 +00:00
zuul.d CI: only run cells job on changes to nova role 2021-07-02 15:32:44 +00:00
.ansible-lint CI: Fix yamllint comments-indentation in .ansible-lint 2021-03-19 12:08:20 +01:00
.gitignore Ignore .vscode/ in Git 2020-04-10 15:55:42 +02:00
.gitreview Update .gitreview for stable/wallaby 2021-04-23 12:40:29 +00:00
.stestr.conf Add custom filters for checking services 2019-09-16 12:48:52 +00:00
.yamllint Fix CI failures 2019-10-15 13:27:55 +01:00
bindep.txt CI: Remove dbus from bindep and playbooks 2020-02-20 16:50:43 +00:00
CONTRIBUTING.rst [Community goal] Update the contributor guide 2020-05-20 17:55:57 +02:00
LICENSE Add ASL license 2014-09-20 17:29:35 -07:00
README.rst [docs] Unify project's naming convention 2021-01-27 20:08:41 +01:00
requirements.txt Cleanup py27 support 2020-04-26 12:16:44 +02:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-05-05 13:30:53 +00:00
setup.py Cleanup py27 support 2020-04-26 12:16:44 +02:00
test-requirements.txt Bump up supported Ansible version to 2.10 2021-03-08 11:40:31 +00:00
tox.ini tox: Add find command to allowlist_externals list 2021-06-21 09:35:50 +00:00

Kolla Ansible

image

The Kolla Ansible is a deliverable project separated from Kolla project.

Kolla Ansible deploys OpenStack services and infrastructure components in Docker containers.

Kolla's mission statement is:

To provide production-ready containers and deployment tools for operating
OpenStack clouds.

Kolla is highly opinionated out of the box, but allows for complete customization. This permits operators with little experience to deploy OpenStack quickly and as experience grows modify the OpenStack configuration to suit the operator's exact requirements.

Getting Started

Learn about Kolla Ansible by reading the documentation online Kolla Ansible.

Get started by reading the Developer Quickstart.

OpenStack services

Kolla Ansible deploys containers for the following OpenStack projects:

Infrastructure components

Kolla Ansible deploys containers for the following infrastructure components:

Directories

  • ansible - Contains Ansible playbooks to deploy OpenStack services and infrastructure components in Docker containers.
  • contrib - Contains demos scenarios for Heat, Magnum and Tacker and a development environment for Vagrant
  • doc - Contains documentation.
  • etc - Contains a reference etc directory structure which requires configuration of a small number of configuration variables to achieve a working All-in-One (AIO) deployment.
  • kolla_ansible - Contains password generation script.
  • releasenotes - Contains releasenote of all features added in Kolla Ansible.
  • specs - Contains the Kolla Ansible communities key arguments about architectural shifts in the code base.
  • tests - Contains functional testing tools.
  • tools - Contains tools for interacting with Kolla Ansible.
  • zuul.d - Contains project gate job definitions.

Getting Involved

Need a feature? Find a bug? Let us know! Contributions are much appreciated and should follow the standard Gerrit workflow.

  • We communicate using the #openstack-kolla irc channel.
  • File bugs, blueprints, track releases, etc on Launchpad.
  • Attend weekly meetings.
  • Contribute code.

Contributors

Check out who's contributing code and contributing reviews.

Notices

Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein.