ceilometer unable to collect metrics

asked 2018-02-20 03:52:26 -0500

Rashmi gravatar image

I have ceilometer installed on my controller and a compute node as per documentation https://docs.openstack.org/liberty/install-guide-ubuntu/ceilometer-install.html (https://docs.openstack.org/liberty/in...) Ceilometer cannot collect metrics and data of my instances running on compute node as well the images and the hardware information. There is no graph in resource usage tab of horizon dashboard too. the logs on compute node shows :

2018-02-20 14:40:56.385 26880 INFO ceilometer.agent.manager [-] Skip pollster network.incoming.bytes, no resources found this cycle
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client [-] The resource could not be found. (HTTP 404)
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client Traceback (most recent call last):
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/ceilometer/nova_client.py", line 47, in with_logging
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     return func(*args, **kwargs)
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/ceilometer/nova_client.py", line 150, in instance_get_all_by_host
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     search_opts=search_opts))
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 608, in list
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     "servers")
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 72, in _list
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     _resp, body = self.api.client.get(url)
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 446, in get
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     return self._cs_request(url, 'GET', **kwargs)
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 402, in _cs_request
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     self.authenticate()
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 581, in authenticate
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     self._v2_auth(auth_url)
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 646, in _v2_auth
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     return self._authenticate(url, body)
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 659, in _authenticate
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     **kwargs)
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 397, in _time_request
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     resp, body = self.request(url, method, **kwargs)
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 391, in request
2018-02-20 14:50:56.353 26880 ERROR ceilometer.nova_client     raise exceptions ...
(more)
edit retag flag offensive close merge delete

Comments

Have you installed the ceilometer agent on the computing node? https://docs.openstack.org/liberty/install-guide-ubuntu/ceilometer-nova.html (https://docs.openstack.org/liberty/in...)

pablobrunetti gravatar imagepablobrunetti ( 2018-02-20 20:06:40 -0500 )edit