| 1 |
2. Edit the ``/etc/ceilometer/pipeline.yaml`` file and complete |
| 2 |
the following section: |
| 3 |
|
| 4 |
* Configure Gnocchi connection: |
| 5 |
|
| 6 |
.. code-block:: yaml |
| 7 |
|
| 8 |
publishers: |
| 9 |
# set address of Gnocchi |
| 10 |
# + filter out Gnocchi-related activity meters (Swift driver), |
| 11 |
# or use enable_filter_project=false to disable filtering |
| 12 |
# if not required |
| 13 |
# + set default archive policy |
| 14 |
- gnocchi://?filter_project=service&archive_policy=low |
| 15 |
|
| 16 |
3. Edit the ``/etc/ceilometer/ceilometer.conf`` file and complete |
| 17 |
the following actions: |
| 18 |
|
| 19 |
* In the ``[DEFAULT]`` section, |
| 20 |
configure ``RabbitMQ`` message queue access: |
| 21 |
|
| 22 |
.. code-block:: ini |
| 23 |
|
| 24 |
[DEFAULT] |
| 25 |
... |
| 26 |
transport_url = rabbit://openstack:RABBIT_PASS@controller |
| 27 |
|
| 28 |
Replace ``RABBIT_PASS`` with the password you chose for the |
| 29 |
``openstack`` account in ``RabbitMQ``. |
| 30 |
|
| 31 |
* In the ``[service_credentials]`` section, configure service credentials: |
| 32 |
|
| 33 |
.. code-block:: ini |
| 34 |
|
| 35 |
[service_credentials] |
| 36 |
... |
| 37 |
auth_type = password |
| 38 |
auth_url = http://controller:5000/v3 |
| 39 |
project_domain_id = default |
| 40 |
user_domain_id = default |
| 41 |
project_name = service |
| 42 |
username = ceilometer |
| 43 |
password = CEILOMETER_PASS |
| 44 |
interface = internalURL |
| 45 |
region_name = RegionOne |
| 46 |
|
| 47 |
Replace ``CEILOMETER_PASS`` with the password you chose for |
| 48 |
the ``ceilometer`` user in the Identity service. |
| 49 |
|
| 50 |
4. Create Ceilometer resources in Gnocchi. Gnocchi should be running by this |
| 51 |
stage: |
| 52 |
|
| 53 |
.. code-block:: console |
| 54 |
|
| 55 |
# ceilometer-upgrade |