Ansible deployment of the Kolla containers
Go to file
Mark Goddard 365bb5177d Create cells before starting nova services
Nova services may reasonably expect cell databases to exist when they
start. The current cell setup tasks in kolla run after the nova
containers have started, meaning that cells may or may not exist in the
database when they start, depending on timing. In particular, we are
seeing issues in kolla CI currently with jobs timing out waiting for
nova compute services to start. The following error is seen in the nova
logs of these jobs, which may or may not be relevant:

No cells are configured, unable to continue

This change creates the cell0 and cell1 databases prior to starting nova
services.

In order to do this, we must create new containers in which to run the
nova-manage commands, because the nova-api container may not yet exist.
This required adding support to the kolla_docker module for specifying a
command for the container to run that overrides the image's command.

We also add the standard output and error to the module's result when a
non-detached container is run. A secondary benefit of this is that the
output of bootstrap containers is now displayed in the Ansible output if
the bootstrapping command fails, which will help with debugging.

Change-Id: I2c1e991064f9f588f398ccbabda94f69dc285e61
Closes-Bug: #1808575
2018-12-14 19:26:42 +00:00
ansible Create cells before starting nova services 2018-12-14 19:26:42 +00:00
contrib Remove deprecated compute groups 2018-11-06 11:45:43 +00:00
deploy-guide/source Remove the deprecated "giturl" option 2018-01-15 03:41:21 +00:00
doc Merge "Add note to external ceph docs for pools/keyrings" 2018-12-02 09:25:46 +00:00
etc/kolla Merge "Use correct variable for default certificate paths" 2018-12-02 09:25:42 +00:00
kolla_ansible Use fernet for barbican crypto key 2018-07-26 22:01:30 +02:00
releasenotes Add Prometheus as Vitrage datasource 2018-12-11 16:05:05 +07:00
specs Replacing the HTTP protocal with HTTPS 2018-11-15 13:09:23 +00:00
tests Create cells before starting nova services 2018-12-14 19:26:42 +00:00
tools remove unused library 2018-12-12 10:30:20 +00:00
zuul.d Refactor tests/templates/globals.yml 2018-11-08 10:15:38 +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
bindep.txt Make Ubuntu gate work 2016-11-03 16:07:47 +00:00
LICENSE Add ASL license 2014-09-20 17:29:35 -07:00
lower-constraints.txt Switch to stestr 2018-07-24 14:18:20 +07:00
README.rst Update the links to https 2018-10-16 05:08:21 -04:00
requirements.txt Add jmespath to requirements.txt 2018-11-20 14:22:37 +00:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-03 22:39:21 -05:00
setup.py Updated from global requirements 2017-03-02 17:44:00 +00:00
test-requirements.txt Switch to stestr 2018-07-24 14:18:20 +07:00
tox.ini Merge "Update min tox version to 2.0" 2018-11-12 13:43:13 +00:00

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.
  • 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.

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.