Ask Your Question

ceilometer can't get compute.instance.create.start/.end instance

asked 2013-06-14 06:04:19 -0600

xiyoulaoyuanjia gravatar image

updated 2013-06-14 11:44:51 -0600

smaffulli gravatar image

when I create a instance from the horizon dashboard . I want get the event message(like compute.instance.create.start/.end ) from the ceilometer API . but i don't get what i want. so i check the rabbitmq queues list. i seen that the has 28 messages. but i don't know how can i get that message. and why ceilometer can't get that message. I also use tools/


Traceback (most recent call last):
  File "", line 151, in <module>
  File "", line 92, in main
AttributeError: 'module' object has no attribute 'register_opts'

can anyone help me? thanks very much!

edit retag flag offensive close merge delete


Hi, which version of Ceilometer are you using? With Havana?

fifieldt gravatar imagefifieldt ( 2013-11-13 22:13:23 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-02-12 13:02:33 -0600

Rakesh Patnaik gravatar image

I had a similar experience lately. I was working on icehouse release and noticed that ceilometer-collector component no longer consumes queue. There is a new component that has been split out ceilometer-agent-notification to handle notifications from other openstack components such as nova. ( .

  • Please install ceilometer-agent-notification to get metering samples with event_type metadata.
  • I was using chef and hence used this recipe to install the new component ( .
edit flag offensive delete link more

answered 2014-09-30 01:52:58 -0600

Vinoth gravatar image

There should be an issue with ceilometer-compute-agent. So cross check all the configuration options available. Also if you ever changed the hostname of controller after installing Rabbitmq server. Its good to reinstall the rabbitmq server . So that hostname will get updated in rabbitmq. Mapping Mysql DB for ceilometer may also cause some problem ( which happened to me) . So prefer MongoDb and also restart all the ceilometer service available.

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: 2013-06-14 06:04:19 -0600

Seen: 745 times

Last updated: Feb 12 '15