Ask Your Question
5

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

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

xiyoulaoyuanjia gravatar image

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

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 notifications.info 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/notificationclient.py

python notificationclient.py

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

can anyone help me? thanks very much!

edit retag flag offensive close merge delete

Comments

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

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

2 answers

Sort by ยป oldest newest most voted
1

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

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 notifications.info queue. There is a new component that has been split out ceilometer-agent-notification to handle notifications from other openstack components such as nova. http://docs.openstack.org/admin-guide-cloud/content/section_telemetry-notification-agent.html (http://docs.openstack.org/admin-guide...) .

  • 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 https://github.com/stackforge/cookbook-openstack-telemetry/blob/master/recipes/agent-notification.rb (https://github.com/stackforge/cookboo...) .
edit flag offensive delete link more
0

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

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

Stats

Asked: 2013-06-14 06:04:19 -0500

Seen: 619 times

Last updated: Feb 12 '15