Ansible deployment of the Kolla containers
Go to file
Xing Zhang a0868027ff Make octavia service_auth project configurable
(Renamed and adapted from Switch octavia to use service project in
 service_auth on master and stable/ussuri)

Recently a patch [1] was merged to stop adding the octavia user to the
admin project, and remove it on upgrade. However, the octavia
configuration was not updated to use the service project, causing load
balancer creation to fail.

There is also an issue for existing deployments in simply switching to
the service project. While existing load balancers appear to continue to
work, creating new load balancers fails due to the security group
belonging to the admin project. At a minimum, the deployer needs to
create a security group in the service project, and update
'octavia_amp_secgroup_list' to match its ID. Ideally the flavor and
network would also be recreated in the service project, although this
does not seem to impact operation and will result in downtime for
existing Amphorae.

This change adds a new variable, 'octavia_service_auth_project', that
can be used to set the project. The default in Ussuri is 'service',
switching to the new behaviour. For backports of this patch to Train and
earlier branches it should be switched to 'admin' to maintain
compatibility.

In Train and earlier, if a deployer keeps the default
'octavia_service_auth_project' of 'admin', the octavia user will be
assigned the admin role in the admin project, as was done previously.
They may also set 'octavia_service_auth_project' to 'service' to use the
new behaviour, and avoid a breaking change when later upgrading to
Ussuri.

Closes-Bug: #1882643
Related-Bug: #1873176

[1] https://review.opendev.org/720243/

Co-Authored-By: Mark Goddard <mark@stackhpc.com>

Change-Id: I1efd0154ebaee69373ae5bccd391ee9c68d09b30
(cherry picked from commit c2037885e7)
(cherry picked from commit 1851d88126)
2020-06-26 19:11:26 +00:00
ansible Make octavia service_auth project configurable 2020-06-26 19:11:26 +00:00
contrib Update tacker CLI to openstack CLI in cleanup-tacker 2019-01-16 21:12:48 +08:00
deploy-guide/source Fix the deploy guide build failed 2019-06-06 10:39:55 +00:00
doc Fix file extension in MariaDB backup docs 2020-06-16 09:34:05 +00:00
etc/kolla Merge "Fix Designate not to use etcd coordination backend" into stable/stein 2020-04-27 10:46:06 +00:00
kolla_ansible Fix Python3 compatibility for kolla-genpwd 2019-10-21 11:14:29 +00:00
releasenotes Make octavia service_auth project configurable 2020-06-26 19:11:26 +00:00
specs doc: Start using openstackdoctheme's extlink extension 2019-07-23 16:55:57 +02:00
tests Run tox in venv in case of building images 2020-06-24 17:54:26 +02:00
tools Run tox in venv in case of building images 2020-06-24 17:54:26 +02:00
zuul.d CI: Set zuul's ansible_python_interpreter to python2 2019-12-13 17:08:01 +01:00
.gitignore Ignore .vscode/ in Git 2020-05-17 08:30:19 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:09 +00:00
.stestr.conf Switch to stestr 2018-07-24 14:18:20 +07:00
.yamllint Fix CI failures 2019-10-15 16:58:14 +01:00
LICENSE Add ASL license 2014-09-20 17:29:35 -07:00
README.rst Move to opendev 2019-07-23 16:48:40 +02:00
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 Update UPPER_CONSTRAINTS_FILE for stable/stein 2019-04-05 14:00:19 +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.