启用镜像服务计量

启用镜像服务计量

Telemetry使用通知收集镜像服务计量信息。在控制节点上执行这些步骤。

配置镜像服务使用Telemetry

  • 编辑 “/etc/glance/glance-api.conf” 和 “/etc/glance/glance-registry.conf”,同时完成如下动作:

    • 在``[DEFAULT]``, ``[oslo_messaging_notifications]``和 ``[oslo_messaging_rabbit]``部分,配置通知和RabbitMQ消息队列访问:

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

      用你在 “RabbitMQ” 中为 “openstack” 选择的密码替换 “RABBIT_PASS”。

完成安装

  • 重启镜像服务:

    # 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.