| 1 |
============================== |
| 2 |
Installing development sandbox |
| 3 |
============================== |
| 4 |
|
| 5 |
Configuring devstack |
| 6 |
==================== |
| 7 |
|
| 8 |
.. index:: |
| 9 |
double: installing; devstack |
| 10 |
|
| 11 |
1. Download devstack_. |
| 12 |
|
| 13 |
2. Create a ``local.conf`` file as input to devstack. |
| 14 |
|
| 15 |
.. note:: |
| 16 |
|
| 17 |
``local.conf`` replaces the former configuration file called ``localrc``. |
| 18 |
If you used localrc before, remove it to switch to using the new file. |
| 19 |
For further information see the `devstack configuration |
| 20 |
<https://docs.openstack.org/devstack/latest/configuration.html>`_. |
| 21 |
|
| 22 |
3. The aetos service is not enabled by default, so it must be |
| 23 |
enabled in ``local.conf`` before running ``stack.sh``. |
| 24 |
|
| 25 |
This example ``local.conf`` file shows all of the settings required for |
| 26 |
aetos, as well as how to deploy ceilometer with prometheus, which is recommended:: |
| 27 |
|
| 28 |
[[local|localrc]] |
| 29 |
# Configure Ceilometer to send metrics through sg-core to Prometheus |
| 30 |
CEILOMETER_BACKEND=sg-core |
| 31 |
|
| 32 |
# Configure Prometheus to scrape sg-core and itself |
| 33 |
PROMETHEUS_CUSTOM_SCRAPE_TARGETS="localhost:3000,localhost:9090" |
| 34 |
|
| 35 |
# Enable Ceilometer |
| 36 |
enable_plugin ceilometer https://opendev.org/openstack/ceilometer |
| 37 |
|
| 38 |
# Enable Prometheus |
| 39 |
enable_plugin devstack-plugin-prometheus https://opendev.org/openstack/devstack-plugin-prometheus |
| 40 |
|
| 41 |
# Enable sg-core for forwarding metrics from Ceilometer to Prometheus |
| 42 |
enable_plugin sg-core https://github.com/infrawatch/sg-core |
| 43 |
|
| 44 |
# Enable the Aetos |
| 45 |
enable_plugin aetos https://opendev.org/openstack/aetos |
| 46 |
|
| 47 |
.. _devstack: https://docs.openstack.org/devstack/latest/ |
| 48 |
|