Merge "Add an Ansible group for bifrost"

This commit is contained in:
Jenkins 2017-03-22 05:16:30 +00:00 committed by Gerrit Code Review
commit 80788f4234
4 changed files with 31 additions and 1 deletions

View File

@ -1,6 +1,6 @@
--- ---
- name: Apply role bifrost - name: Apply role bifrost
hosts: localhost hosts: bifrost
roles: roles:
- { role: bifrost, - { role: bifrost,
tags: bifrost} tags: bifrost}

View File

@ -15,6 +15,9 @@ localhost ansible_connection=local
[monitoring] [monitoring]
localhost ansible_connection=local localhost ansible_connection=local
[deployment]
localhost ansible_connection=local
# You can explicitly specify which hosts run each project by updating the # You can explicitly specify which hosts run each project by updating the
# groups in the sections below. Common services are grouped together. # groups in the sections below. Common services are grouped together.
[chrony-server:children] [chrony-server:children]
@ -178,6 +181,9 @@ control
[placement:children] [placement:children]
control control
[bifrost:children]
deployment
# Additional control implemented here. These groups allow you to control which # Additional control implemented here. These groups allow you to control which
# services run on which hosts at a per-service level. # services run on which hosts at a per-service level.
# #

View File

@ -27,6 +27,9 @@ monitoring01
[storage] [storage]
storage01 storage01
[deployment]
localhost ansible_connection=local
[baremetal:children] [baremetal:children]
control control
network network
@ -195,6 +198,9 @@ control
[placement:children] [placement:children]
control control
[bifrost:children]
deployment
# Additional control implemented here. These groups allow you to control which # Additional control implemented here. These groups allow you to control which
# services run on which hosts at a per-service level. # services run on which hosts at a per-service level.
# #

View File

@ -82,6 +82,24 @@ Production
kolla-build bifrost-deploy kolla-build bifrost-deploy
Prepare Kolla-Ansible Inventory
===============================
Kolla-ansible will deploy bifrost on the hosts in the ``bifrost`` Ansible
group. In the ``all-in-one`` and ``multinode`` inventory files, a ``bifrost``
group is defined which contains all hosts in the ``deployment`` group. This
top level ``deployment`` group is intended to represent the host running the
``bifrost_deploy`` container. By default, this group contains ``localhost``.
See `edit-inventory`_ for details on how to modify the Ansible inventory in a
multinode deployment.
Bifrost does not currently support running on multiple hosts so the ``bifrost``
group should contain only a single host, however this is not enforced by
kolla-ansible. Bifrost manages a number of services that conflict with
services deployed by kolla including OpenStack Ironic, MariaDB, RabbitMQ and
(optionally) OpenStack Keystone. These services should not be deployed on the
host on which bifrost is deployed.
Prepare bifrost configs Prepare bifrost configs
======================= =======================