Ansible deployment of the Kolla containers
Go to file
Pierre Riteau 8d260e0e3f Add ansible_nodename (system hostname) to /etc/hosts
Kolla-Ansible populates /etc/hosts with overcloud hosts using their API
interface IP address. When configured correctly, this allows Nova to use
the API interface for live migration of instances between compute hosts.

The hostname used is from the `ansible_hostname` variable, which is a
short hostname generated by Ansible using the first dot as a delimiter.
However, Nova defaults to use the result of socket.gethostname() to
register nova-compute services.

In deployments where hostnames are set to FQDNs, for example when using
FreeIPA, nova-compute would try to reach the other compute node using
its FQDN (as registered in the Nova database), which was absent from
/etc/hosts. This can result in failures to live migrate instances if
DNS entries don't match.

This commit populates /etc/hosts with `ansible_nodename` (hostname as
reported by the system) in addition to `ansible_hostname`, if they are
different.

Change-Id: Id058aa1db8d60c979680e6a41f7f3e1c39f98235
Closes-Bug: #1830023
(cherry picked from commit 37899026bf)
2019-06-18 18:12:41 +00:00
ansible Add ansible_nodename (system hostname) to /etc/hosts 2019-06-18 18:12:41 +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 Merge "Fix docs - simply run the script instead of sourcing it" into stable/stein 2019-06-18 10:00:59 +00:00
etc/kolla Merge "Add cyborg to kolla-ansible" 2019-03-28 08:20:13 +00:00
kolla_ansible cmd: Extract methods to allow import from external 2019-03-10 21:02:38 +01:00
releasenotes Add ansible_nodename (system hostname) to /etc/hosts 2019-06-18 18:12:41 +00:00
specs Replacing the HTTP protocal with HTTPS 2018-11-15 13:09:23 +00:00
tests Test Ceph upgrade in CI 2019-06-06 13:17:42 +01:00
tools Merge "Pin ARA to <1.0.0 and use stable setup interface to find callback plugin" into stable/stein 2019-05-31 12:34:24 +00:00
zuul.d Test Ceph upgrade in CI 2019-06-06 13:17:42 +01:00
.gitignore Switch to stestr 2018-07-24 14:18:20 +07: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 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 remove pep8 from lower-constraints.txt 2019-02-04 16:56:22 +05:30
README.rst Add cyborg to kolla-ansible 2019-03-08 10:46:53 +08:00
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

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.