If a pollster is attempting to do discovery with the keystone client and the keystone service is not yet ready, a confusing AttributeError is raised in the central agent logs:
2015-09-07 13:16:30.111 18838 ERROR ceilometer.agent.base [-] Unable to discover resources: 'AuthorizationFailure' object has no attribute 'service_catalog'
2015-09-07 13:16:30.111 18838 ERROR ceilometer.agent.base Traceback (most recent call last):
2015-09-07 13:16:30.111 18838 ERROR ceilometer.agent.base File "/home/opt/stack/ceilometer/ceilometer/agent/base.py", line 396, in discover
2015-09-07 13:16:30.111 18838 ERROR ceilometer.agent.base discovered = discoverer.discover(self, param)
2015-09-07 13:16:30.111 18838 ERROR ceilometer.agent.base File "/home/opt/stack/ceilometer/ceilometer/agent/discovery/endpoint.py", line 37, in discover
2015-09-07 13:16:30.111 18838 ERROR ceilometer.agent.base endpoints = manager.keystone.service_catalog.get_urls(
2015-09-07 13:16:30.111 18838 ERROR ceilometer.agent.base AttributeError: 'AuthorizationFailure' object has no attribute 'service_catalog'
Some sort of type or error checking that should be happening here is not.
This is happening early in a devstack, right after the central agent has started. Eventually, as keystone becomes ready, the problem goes away.
However with a lot of pollster plugins this can lead to a bunch of scary log messages that are not useful.
I've seen this too.