Enable ceilometer in queens using kolla-ansible

asked 2018-05-09 07:28:31 -0500

akarki gravatar image

Hi, I am enabling ceilometer in openstack kolla-ansible (stable/queens) with the following configuration in globals.yml:

enable_ceilometer: "yes" enable_gnocchi:"yes"

ceilometer_compute, ceilometer_central, ceilometer_notification are up and running. But I can see the following logs in ceilometer_polling :

Logs:
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client [-] Unknown Error (HTTP 503): ClientException: Unknown Error (HTTP 503)
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client Traceback (most recent call last):
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/ceilometer/nova_client.py", line 39, in with_logging
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client     return func(*args, **kwargs)
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/ceilometer/nova_client.py", line 157, in instance_get_all
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client     search_opts=search_opts)
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/novaclient/v2/servers.py", line 884, in list
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client     "servers")
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/novaclient/base.py", line 254, in _list
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client     resp, body = self.api.client.get(url)
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 304, in get
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client     return self.request(url, 'GET', **kwargs)
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client     raise exceptions.from_response(resp, body, url, method)
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client ClientException: Unknown Error (HTTP 503)
2018-05-09 10:34:45.535 21 ERROR ceilometer.nova_client

Also, gnocchi resource list is empty.

Please help!!

edit retag flag offensive close merge delete

Comments

Can you verify that gnocci is up and running? I've several times run into the issue(at least in multi-node configs) that the gnocci container is broken, with a mssing gnocci_config in the ~gnocci/tmp/ directory..

theque42 gravatar imagetheque42 ( 2018-05-14 03:41:27 -0500 )edit