| 1 |
Configure Object Storage to use Telemetry |
| 2 |
----------------------------------------- |
| 3 |
|
| 4 |
Perform these steps on the controller and any other nodes that |
| 5 |
run the Object Storage proxy service. |
| 6 |
|
| 7 |
* Edit the ``/etc/swift/proxy-server.conf`` file |
| 8 |
and complete the following actions: |
| 9 |
|
| 10 |
* In the ``[filter:keystoneauth]`` section, add the |
| 11 |
``ResellerAdmin`` role: |
| 12 |
|
| 13 |
.. code-block:: ini |
| 14 |
|
| 15 |
[filter:keystoneauth] |
| 16 |
... |
| 17 |
operator_roles = admin, user, ResellerAdmin |
| 18 |
|
| 19 |
* In the ``[pipeline:main]`` section, add ``ceilometer``: |
| 20 |
|
| 21 |
.. code-block:: ini |
| 22 |
|
| 23 |
[pipeline:main] |
| 24 |
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk ratelimit authtoken keystoneauth container-quotas account-quotas slo dlo versioned_writes proxy-logging ceilometer proxy-server |
| 25 |
|
| 26 |
* In the ``[filter:ceilometer]`` section, configure notifications: |
| 27 |
|
| 28 |
.. code-block:: ini |
| 29 |
|
| 30 |
[filter:ceilometer] |
| 31 |
paste.filter_factory = ceilometermiddleware.swift:filter_factory |
| 32 |
... |
| 33 |
control_exchange = swift |
| 34 |
url = rabbit://openstack:RABBIT_PASS@controller:5672/ |
| 35 |
driver = messagingv2 |
| 36 |
topic = notifications |
| 37 |
log_level = WARN |
| 38 |
|
| 39 |
Replace ``RABBIT_PASS`` with the password you chose for the |
| 40 |
``openstack`` account in ``RabbitMQ``. |