Ask Your Question

Ceilometer event-list "faultstring": "Events not implemented."}

asked 2015-01-06 08:40:10 -0500

sinder255248 gravatar image


I'm trying to implement CADF notifications within Ceilometer (for auditing API actions) by following this article: (

I think I've completed the setup correctly. Ceilometer is working as I can bring back sample metrics for the hosts and instances but if I try to list event notifications (ceilometer event-list) I get a HTTPInternalServerError message. I've run a --debug and here's the output:

DEBUG (http:121) HTTP/1.0 500 Internal Server Error date: Tue, 06 Jan 2015 14:32:57 GMT content-length: 103 content-type: application/json server: WSGIServer/0.1 Python/2.6.6

{"error_message": {"debuginfo": null, "faultcode": "Server", "faultstring": "Events not implemented."}}

WARNING (http:173) Request returned failure status.

I've tried enabling the storage of events in the database (default despatcher - mongodb) as stated in: (

I still get the same error. In addition to the above, does anyone have a good article on listening to messages on the rabbitmq bus?

I'd appreciate any help you can offer.



edit retag flag offensive close merge delete


did you checked the ceilometer-api and ceilometer-central-agent log as well? Paste them to please. Besides also paste your event.yaml in /etc/ceilometer.

9lives gravatar image9lives ( 2015-01-06 09:21:30 -0500 )edit

api.log: central.log: event.yaml: I don't have an event.yaml under /etc/ceilometer

I'm using Icehouse Redhat OSP 5.0

sinder255248 gravatar imagesinder255248 ( 2015-01-06 09:42:45 -0500 )edit

I've since taken the event_definitions.yaml from github. I still get the same issue.

sinder255248 gravatar imagesinder255248 ( 2015-01-06 10:17:34 -0500 )edit

I've also got this issue, Icehouse release. Everything looks like Events are enabled, but i Just get back the "not implemented" error.

Any help/suggestions? Adding the get_events as listed in the "answer" yields no change in behavior (storage/ still throws the exception)

sjoeboo gravatar imagesjoeboo ( 2015-02-05 11:21:45 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-06 11:04:10 -0500

9lives gravatar image

updated 2015-01-06 11:05:50 -0500

Just compared the in ceilometer/storage btween icehouse( and juno release(, there is no such method called get_events defined in icehouse version while juno version has the following definition.

def get_events(self, event_filter):
        """Return an iter of models.Event objects.

        :param event_filter: storage.EventFilter object, consists of filters
                             for events that are stored in database.
        q = pymongo_utils.make_events_query_from_filter(event_filter)
        for event in self.db.event.find(q):
            traits = []
            for trait in event['traits']:
            yield models.Event(message_id=event['_id'],

This should explain the why the NotImplementedError('Events not implemented.') raised

The fix might be add the get_events method in your icehouse version or just upgrade to the latest juno release.

Hope that helps!


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-01-06 08:40:10 -0500

Seen: 393 times

Last updated: Jan 06 '15