Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ceilometer boooooo
Out of the box build - command is "ceilometer meter-list"
results:
root@controller:/var/log/ceilometer# cat ceilometer-agent-central.log
2015-05-11 14:58:18.283 24053 ERROR ceilometer.agent [-] Unable to discover resources: 'AuthorizationFailure' object has no attribute 'tenants'
2015-05-11 14:58:18.283 24053 TRACE ceilometer.agent Traceback (most recent call last):
2015-05-11 14:58:18.283 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/agent.py", line 233, in discover
2015-05-11 14:58:18.283 24053 TRACE ceilometer.agent discovered = discoverer.discover(self, param)
2015-05-11 14:58:18.283 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/central/discovery.py", line 61, in discover
2015-05-11 14:58:18.283 24053 TRACE ceilometer.agent tenants = manager.keystone.tenants.list()
2015-05-11 14:58:18.283 24053 TRACE ceilometer.agent AttributeError: 'AuthorizationFailure' object has no attribute 'tenants'
2015-05-11 14:58:18.283 24053 TRACE ceilometer.agent
2015-05-11 14:58:18.285 24053 WARNING ceilometer.agent [-] Continue after error from storage.containers.objects.size: 'AuthorizationFailure' object has no attribute 'service_catalog'
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent Traceback (most recent call last):
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/agent.py", line 123, in poll_and_publish
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent agent_resources)
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 193, in get_samples
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent cache, tenants):
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 83, in _iter_accounts
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent ksclient, tenants))
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 87, in _get_account_info
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent endpoint = self._get_endpoint(ksclient)
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 73, in _get_endpoint
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent _Base._ENDPOINT = ksclient.service_catalog.url_for(
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent AttributeError: 'AuthorizationFailure' object has no attribute 'service_catalog'
2015-05-11 14:58:18.285 24053 TRACE ceilometer.agent
2015-05-11 14:58:18.286 24053 ERROR ceilometer.agent [-] Unable to discover resources: 'AuthorizationFailure' object has no attribute 'tenants'
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent Traceback (most recent call last):
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/agent.py", line 233, in discover
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent discovered = discoverer.discover(self, param)
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/central/discovery.py", line 61, in discover
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent tenants = manager.keystone.tenants.list()
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent AttributeError: 'AuthorizationFailure' object has no attribute 'tenants'
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent
2015-05-11 14:58:18.286 24053 WARNING ceilometer.agent [-] Continue after error from storage.containers.objects: 'AuthorizationFailure' object has no attribute 'service_catalog'
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent Traceback (most recent call last):
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/agent.py", line 123, in poll_and_publish
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent agent_resources)
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 169, in get_samples
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent cache, tenants):
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 83, in _iter_accounts
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent ksclient, tenants))
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 87, in _get_account_info
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent endpoint = self._get_endpoint(ksclient)
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 73, in _get_endpoint
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent _Base._ENDPOINT = ksclient.service_catalog.url_for(
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent AttributeError: 'AuthorizationFailure' object has no attribute 'service_catalog'
2015-05-11 14:58:18.286 24053 TRACE ceilometer.agent
Changed the config file a few different ways and getting alternate auth issues:
root@controller:/var/log/ceilometer# cat ceilometer-api.log
2015-05-11 15:22:01.824 25008 WARNING keystonemiddleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint
2015-05-11 15:23:09.503 25008 WARNING keystonemiddleware.auth_token [-] Retrying on HTTP connection exception: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
2015-05-11 15:23:10.013 25008 WARNING keystonemiddleware.auth_token [-] Retrying on HTTP connection exception: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
2015-05-11 15:23:11.027 25008 WARNING keystonemiddleware.auth_token [-] Retrying on HTTP connection exception: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
2015-05-11 15:23:13.038 25008 ERROR keystonemiddleware.auth_token [-] HTTP connection exception: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
2015-05-11 15:23:13.039 25008 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment