summaryrefslogtreecommitdiff
path: root/doc/source/install/glance/install-glance-ubuntu.rst
blob: b46fe5ecfa491f42ac5be400189f872dbcc895de (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
Enable Image service meters for Ubuntu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Telemetry uses notifications to collect Image service meters. Perform
these steps on the controller node.

Configure the Image service to use Telemetry
--------------------------------------------

* Edit the ``/etc/glance/glance-api.conf`` and
  ``/etc/glance/glance-registry.conf`` files and
  complete the following actions:

  * In the ``[DEFAULT]``, ``[oslo_messaging_notifications]`` sections,
    configure notifications and RabbitMQ
    message broker access:

    .. code-block:: ini

       [DEFAULT]
       ...
       transport_url = rabbit://openstack:RABBIT_PASS@controller

       [oslo_messaging_notifications]
       ...
       driver = messagingv2

    Replace ``RABBIT_PASS`` with the password you chose for
    the ``openstack`` account in ``RabbitMQ``.

Finalize installation
---------------------

* Restart the Image service:

  .. code-block:: console

     # service glance-registry restart
     # service glance-api restart