Povolení měřidel služby obrazů

Povolení měřidel služby obrazů

Telemetrie využívá upozornění pro shromažďování měřidel služby obrazů. Proveďte tyto kroky na uzlu kontroléru.

Nastavení služby obrazů pro použití telemetrie

  • Upravte soubory /etc/glance/glance-api.conf a ``/etc/glance/glance-registry.conf``a proveďte následující úkony:

    • 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
      

      Nahraďte RABBIT_PASS Vámi zvoleným heslem pro účet openstack v RabbitMQ.

Dokončení instalace

  • Restartujte službu obrazů:

    # systemctl restart openstack-glance-api.service openstack-glance-registry.service
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.