Ansible deployment of the Kolla containers
Go to file
Mark Goddard b25c0ee477 Fix MariaDB 10.3 upgrade
Upgrading MariaDB from Rocky to Stein currently fails, with the new
container left continually restarting. The problem is that the Rocky
container does not shutdown cleanly, leaving behind state that the new
container cannot recover. The container does not shutdown cleanly
because we run dumb-init with a --single-child argument, causing it to
forward signals to only the process executed by dumb-init. In our case
this is mysqld_safe, which ignores various signals, including SIGTERM.
After a (default 10 second) timeout, Docker then kills the container.

A Kolla change [1] removes the --single-child argument from dumb-init
for the MariaDB container, however we still need to support upgrading
from Rocky images that don't have this change. To do that, we add new
handlers to execute 'mysqladmin shutdown' to cleanly shutdown the
service.

A second issue with the current upgrade approach is that we don't
execute mysql_upgrade after starting the new service. This can leave the
database state using the format of the previous release. This patch also
adds handlers to execute mysql_upgrade.

[1] https://review.openstack.org/644244

Depends-On: https://review.openstack.org/644244
Depends-On: https://review.openstack.org/645990
Change-Id: I08a655a359ff9cfa79043f2166dca59199c7d67f
Closes-Bug: #1820325
2019-03-23 10:21:37 +00:00
ansible Fix MariaDB 10.3 upgrade 2019-03-23 10:21:37 +00:00
contrib Update tacker CLI to openstack CLI in cleanup-tacker 2019-01-16 21:12:48 +08:00
deploy-guide/source Remove the deprecated "giturl" option 2018-01-15 03:41:21 +00:00
doc Merge "Support separate Swift storage networks" 2019-03-14 16:19:59 +00:00
etc/kolla Merge "Split placement from nova" 2019-03-16 20:58:21 +00:00
kolla_ansible cmd: Extract methods to allow import from external 2019-03-10 21:02:38 +01:00
releasenotes Merge "Support separate Swift storage networks" 2019-03-14 16:19:59 +00:00
specs Replacing the HTTP protocal with HTTPS 2018-11-15 13:09:23 +00:00
tests Wait for cinder volume to become available in CI 2019-03-21 17:35:13 +00:00
tools Merge "Add cinder-lvm CI job" 2019-03-18 10:54:05 +00:00
zuul.d Merge "Add lower-constraints.txt to irrelevant-files" 2019-03-21 08:35:46 +00:00
.gitignore Switch to stestr 2018-07-24 14:18:20 +07:00
.gitreview Set up .gitreview 2016-11-15 20:02:38 +01:00
.stestr.conf Switch to stestr 2018-07-24 14:18:20 +07:00
.yamllint Verify YAML syntax in gates 2018-03-26 17:56:22 +02:00
LICENSE Add ASL license 2014-09-20 17:29:35 -07:00
README.rst Add missing dirs 2019-02-05 19:10:14 +05:30
bindep.txt Make Ubuntu gate work 2016-11-03 16:07:47 +00:00
lower-constraints.txt remove pep8 from lower-constraints.txt 2019-02-04 16:56:22 +05:30
requirements.txt Add jmespath to requirements.txt 2018-11-20 14:22:37 +00:00
setup.cfg Update programming language mentioned in setup.cfg 2019-03-14 16:47:49 +05:30
setup.py Updated from global requirements 2017-03-02 17:44:00 +00:00
test-requirements.txt Update hacking version 2018-12-27 04:44:49 +00:00
tox.ini Drop py35 jobs 2019-02-27 08:57:24 +00:00

README.rst

Team and repository tags

image

Kolla-Ansible Overview

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.