Telemtry使用notifications方式收集镜像服务计量信息。在控制节点上执行这些步骤。
编辑 /etc/glance/glance-api.conf 和 /etc/glance/glance-registry.conf 文件,同时完成如下动作:
在 ``[DEFAULT] `` 和 ``[oslo_messaging_rabbit] `` 部分,配置 ``notifications ``和”RabbitMQ” 消息队列访问:
[DEFAULT]
...
notification_driver = messagingv2
rpc_backend = rabbit
[oslo_messaging_rabbit]
...
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
用你在 “RabbitMQ” 中为 “openstack” 用户选择的密码替换 “RABBIT_PASS”。
重启镜像服务:
# service glance-registry restart
# service glance-api restart
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.