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:

      transport_url = rabbit://openstack:RABBIT_PASS@controller
      driver = messagingv2

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

Finalize installation

  • Restart the Image service:

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