Ansible deployment of the Kolla containers
Go to file
Mark Goddard 4d61344c14 cinder: restart services after upgrade
This patch is roughly an adaptation of
Ia6fc9011ee6f5461f40a1307b72709d769814a79 for cinder.

During an upgrade, cinder pins the version of RPC calls to the minimum
seen across all services. This ensures that old services do not receive
data they cannot handle. After the upgrade is complete, all cinder
services are supposed to be reloaded to cause them to check again the
RPC versions of services and use the new latest version which should now
be supported by all running services.

There is a second issue in that it takes some time for the upgraded
services to update the cinder services database table with their new
version. We need to wait until all cinder services have done this
before the restart is performed, otherwise the RPC version cap will
remain in place. There is currently no interface in cinder available for
checking these versions, so as a workaround we use a configurable
delay with a default duration of 30 seconds, as we do for nova.

This change restarts all cinder services after an upgrade, after a 30
second delay.

Closes-Bug: #1954932
Related-Bug: #1833069

Change-Id: I9164dc589386d2c2d4daf1bf84061b806ba9988d
(cherry picked from commit 80a32c3c74)
2022-03-18 13:50:19 +00:00
ansible cinder: restart services after upgrade 2022-03-18 13:50:19 +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 libvirt: support SASL authentication 2022-03-12 16:59:36 +00:00
etc/kolla libvirt: support SASL authentication 2022-03-12 16:59:36 +00:00
kolla_ansible Use ansible_facts to reference facts 2021-07-28 14:11:50 +01:00
releasenotes cinder: restart services after upgrade 2022-03-18 13:50:19 +00:00
roles Fix permission denied errors with ping on c8s 2022-01-18 09:06:30 +00:00
specs [docs] Unify project's naming convention 2021-01-27 20:08:41 +01:00
tests [CI] Check fluentd errors 2022-02-10 09:26:47 +00:00
tools Fix missing Ansible version in the error message 2021-10-28 16:15:16 +00:00
zuul.d [CI] Test Ironic when touching Neutron 2022-03-09 20:25:58 +00:00
.ansible-lint CI: Fix new ansible-lint failures 2022-02-15 10:49:26 +00: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
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
bindep.txt CI: Remove dbus from bindep and playbooks 2020-02-20 16:50:43 +00: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 CI: pin ansible-lint to <6 2022-03-16 13:39:14 +00:00
tox.ini tox: Add find command to allowlist_externals list 2021-06-21 09:35:50 +00:00

README.rst

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.