openstack-manuals/doc/install-guide/source/ceilometer-glance.rst
Jiří Suchomel 92d3a94f54 [install] Use correct location for notification driver.
Location of notification driver in [DEFAULT] section is obsolete,
it belongs to [oslo_messaging_notifications].

Change-Id: I5afec86c32ee1bb76fb5cf1ccbfa980b0ec480da
2016-03-23 12:27:10 +01:00

1.3 KiB

Enable Image service meters

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], and [oslo_messaging_rabbit] sections, configure notifications and RabbitMQ message broker access:

      [DEFAULT]
      ...
      rpc_backend = rabbit
      
      [oslo_messaging_notifications]
      ...
      driver = messagingv2
      
      [oslo_messaging_rabbit]
      ...
      rabbit_host = controller
      rabbit_userid = openstack
      rabbit_password = RABBIT_PASS

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

Finalize installation

obs or rdo

  • Restart the Image service:

    # systemctl restart openstack-glance-api.service openstack-glance-registry.service

ubuntu or debian

  • Restart the Image service:

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