summaryrefslogtreecommitdiffstats
path: root/docs/release/configguide/feature.configuration.rst
blob: 422e822ad85188d634a995a0842dacd19fe18e07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0

Blazar installation with OpenStack Ansible
==========================================
.. note::
   This guide provides steps for manual installation of Blazar using OpenStack
   Ansible. These instructions are valid for Ubuntu 18.04 All-in-one (AIO).

Install and bootstrap Ansible (master branch) as the root user:

.. code:: bash

   # git clone https://git.openstack.org/openstack/openstack-ansible /opt/openstack-ansible
   # cd /opt/openstack-ansible

Get the Blazar extra code:

.. code:: bash

  # git pull https://git.openstack.org/openstack/openstack-ansible refs/changes/56/549956/31

.. note::
   At the time of writing, work is still ongoing upstream in OpenStack.
   Therefore, it is recommended to set ANSIBLE_ROLE_FETCH_MODE to git-clone.

.. code:: bash

   # export ANSIBLE_ROLE_FETCH_MODE=git-clone
   # scripts/bootstrap-ansible.sh
   # scripts/bootstrap-aio.sh

Enable Blazar:

.. code:: bash

   # cp etc/openstack_deploy/conf.d/blazar.yml.aio /etc/openstack_deploy/conf.d/
   # cd /etc/openstack_deploy/conf.d
   # mv blazar.yml.aio blazar.yml

Run Ansible playbooks:

.. code:: bash

   # cd /opt/openstack-ansible/playbooks
   # openstack-ansible setup-hosts.yml
   # openstack-ansible setup-infrastructure.yaml
   # openstack-ansible setup-openstack.yml

Once the playbooks have successfully executed, it is possible to make some
modifications to the Blazar Ansible role in /etc/ansible/roles/os_blazar
and re-install the Blazar service by executing:

.. code:: bash

   # cd /opt/openstack-ansible/playbooks
   # openstack-ansible os-blazar-install.yml