| 1 |
Enable Image service meters for Red Hat Enterprise Linux and CentOS |
| 2 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 |
|
| 4 |
Telemetry uses notifications to collect Image service meters. Perform |
| 5 |
these steps on the controller node. |
| 6 |
|
| 7 |
Configure the Image service to use Telemetry |
| 8 |
-------------------------------------------- |
| 9 |
|
| 10 |
* Edit the ``/etc/glance/glance-api.conf`` file and |
| 11 |
complete the following actions: |
| 12 |
|
| 13 |
* In the ``[DEFAULT]``, ``[oslo_messaging_notifications]`` sections, |
| 14 |
configure notifications and RabbitMQ |
| 15 |
message broker access: |
| 16 |
|
| 17 |
.. code-block:: ini |
| 18 |
|
| 19 |
[DEFAULT] |
| 20 |
... |
| 21 |
transport_url = rabbit://openstack:RABBIT_PASS@controller |
| 22 |
|
| 23 |
[oslo_messaging_notifications] |
| 24 |
... |
| 25 |
driver = messagingv2 |
| 26 |
|
| 27 |
Replace ``RABBIT_PASS`` with the password you chose for |
| 28 |
the ``openstack`` account in ``RabbitMQ``. |
| 29 |
|
| 30 |
Finalize installation |
| 31 |
--------------------- |
| 32 |
|
| 33 |
* Restart the Image service: |
| 34 |
|
| 35 |
.. code-block:: console |
| 36 |
|
| 37 |
# systemctl restart openstack-glance-api.service |