【发布时间】:2017-11-27 22:17:54
【问题描述】:
我一直在使用 this install guide 在 Ubuntu 16.04 LTS 上为 Openstack Pike 安装 Ceilometer。
到目前为止一切正常,但当我尝试重新启动 gnocchi-api 时收到消息
启动 gnocchi-api.service 失败:未找到单元 gnocchi-api.service。
我检查了/etc/init.d 并且没有脚本gnocchi-api(尽管gnocchi-metricd 是,并且它工作正常)。尝试重新安装包gnocchi-api,但没有帮助。当正常启动gnocchi-api 时,从命令行它可以工作,虽然会发送一堆警告(but I think they are common)
我正在寻找一种让它正常工作的方法——比如服务和使用 conf 文件。
2017-11-27 20:01:40.593 6059 信息 gnocchi.rest.app [-] 使用的 WSGI 配置:/usr/lib/python2.7/dist-packages/gnocchi/rest/api-paste.ini
2017-11-27 20:01:40.753 6059 警告 keystonemiddleware._common.config [-] auth_token 不知道 conf 中的选项
"__file__"2017-11-27 20:01:40.759 6059 警告 keystonemiddleware._common.config [-] auth_token 不知道 conf 中的选项“configkey”
2017-11-27 20:01:40.760 6059 警告 keystonemiddleware._common.config [-] auth_token 不知道 conf 中的选项“here”
2017-11-27 20:01:40.762 6059 警告 keystonemiddleware.auth_token [-] AuthToken 中间件设置为 keystone_authtoken.service_token_roles_required 设置为 False。这是向后兼容但已弃用的行为。请将此设置为 True。
2017-11-27 20:01:40.768 6059 警告 keystonemiddleware.auth_token [-] 需要将 auth_uri 配置为指向公共身份端点;客户端可能无法针对管理端点进行身份验证
开始测试服务器 gnocchi.rest.app.build_wsgi_app 可在http://127.0.1.1:8000/ 危险!仅供测试,请勿在生产中使用
【问题讨论】:
标签: service openstack ceilometer