无法在Devstack(Ocata)上部署Ceilometer

时间:2017-11-20 14:56:54

标签: openstack devstack ceilometer

我正在尝试使用Ceilometer部署Devstack(Ocata版本),以便在简单的环境中测试不同的遥测配置。我的 local.conf 文件包含以下内容:

[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=192.168.56.101
...
enable_plugin gnocchi https://git.openstack.org/openstack/gnocchi
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer stable/ocata

运行 stack.sh 脚本后,似乎Ceilometer已正确安装,但当我使用service --status-all检查可用服务时,它们不存在

我还需要做其他事情吗?我该如何配置?我还没有找到有关它的文档。

提前致谢,

塞尔吉奥。

更新

云高计-acentral.log

2017-11-21 14:22:48.823 28311 WARNING ceilometer.neutron_client [-] The resource could not be found.
2017-11-21 14:22:48.823 28311 DEBUG ceilometer.agent.manager [-] Skip pollster network.services.lb.pool, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:22:48.860 28311 DEBUG ceilometer.agent.manager [-] Skip pollster ip.floating, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:22:48.860 28311 DEBUG ceilometer.agent.manager [-] Skip pollster switch.table.active.entries, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:22:48.860 28311 DEBUG ceilometer.agent.manager [-] Skip pollster hardware.system_stats.io.incoming.blocks, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:22:48.890 28311 WARNING ceilometer.neutron_client [-] The resource could not be found.
2017-11-21 14:22:48.890 28311 DEBUG ceilometer.agent.manager [-] Skip pollster network.services.lb.vip, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:22:48.890 28311 INFO ceilometer.agent.manager [-] Polling pollster radosgw.containers.objects in the context of all_pollsters

云高计-acompute.log

2017-11-21 14:27:57.652 29255 DEBUG ceilometer.agent.manager [-] Skip pollster network.incoming.bytes, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:27:57.652 29255 DEBUG ceilometer.agent.manager [-] Skip pollster disk.device.latency, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:27:57.652 29255 DEBUG ceilometer.agent.manager [-] Skip pollster network.outgoing.packets.error, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:27:57.652 29255 DEBUG ceilometer.agent.manager [-] Skip pollster disk.iops, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:27:57.652 29255 DEBUG ceilometer.agent.manager [-] Skip pollster disk.read.bytes, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:27:57.652 29255 DEBUG ceilometer.agent.manager [-] Skip pollster disk.device.capacity, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:27:57.653 29255 DEBUG ceilometer.agent.manager [-] Skip pollster disk.device.read.bytes.rate, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:27:57.653 29255 DEBUG ceilometer.agent.manager [-] Skip pollster cpu, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170
2017-11-21 14:27:57.653 29255 DEBUG ceilometer.agent.manager [-] Skip pollster cpu_l3_cache, no resources found this cycle poll_and_notify /opt/stack/ceilometer/ceilometer/agent/manager.py:170

云高计-anotification.log

2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi [-] public endpoint for metric service in RegionOne region not found
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi Traceback (most recent call last):
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/opt/stack/ceilometer/ceilometer/publisher/gnocchi.py", line 372, in publish_samples
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     self._update_resource, resource_extra)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/opt/stack/ceilometer/ceilometer/publisher/gnocchi.py", line 447, in _if_not_cached
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     method(resource_type, resource, *args, **kwargs)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/opt/stack/ceilometer/ceilometer/publisher/gnocchi.py", line 430, in _update_resource
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     resource_extra)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/gnocchiclient/v1/resource.py", line 111, in update
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     data=jsonutils.dumps(resource)).json()
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/gnocchiclient/v1/base.py", line 49, in _patch
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     return self.client.api.patch(*args, **kwargs)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 229, in patch
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     return self.request(url, 'PATCH', **kwargs)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/gnocchiclient/client.py", line 35, in request
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     **kwargs)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 142, in request
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     return self.session.request(url, method, **kwargs)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     return wrapped(*args, **kwargs)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 513, in request
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     **endpoint_filter)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 856, in get_endpoint
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     return auth.get_endpoint(self, **kwargs)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 216, in get_endpoint
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     service_name=service_name)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     return wrapped(*args, **kwargs)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/access/service_catalog.py", line 228, in url_for
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi     raise exceptions.EndpointNotFound(msg)
2017-11-21 14:27:53.372 28802 ERROR ceilometer.publisher.gnocchi EndpointNotFound: public endpoint for metric service in RegionOne region not found

0 个答案:

没有答案