Nova compute.instance.create Notification

asked 2015-05-04 08:25:09 -0600

Eren T. gravatar image

updated 2015-05-07 03:36:31 -0600

Hello,

I have setup nova using mirantis and I am getting notifications using "stacktach". I see that error messages are displayed in stacktach interface but I fail to see notifications when instance state changes (created, updated, poweroff, etc). Neither cinder, nor stacktach can get those notifications. My nova configuration fragment is below:

notification_driver=messaging
notification_driver=ceilometer.compute.nova_notifier
notification_driver=nova.openstack.common.notifier.rpc_notifier

notification_topics=notifications
notify_on_state_change=vm_and_task_state
notify_on_any_change=True
instance_usage_audit=True
instance_usage_audit_period=hour

However, I still cannot get "compute.instance." notifications in "notifications.info" channel. I only get messages from "notifications.error". Any idea how I can get compute.instance. notifications out of notifications.info channel?

EDIT: I found why stacktach was not getting messages out of "notifications.info". Before stacktach was able to pull the message, 'ceilometer-agent-notification' gets and processes it. I stopped ceilometer-agent-notification and stacktach is getting all the messages correctly. I believe that's why nova and other services should write to 2 notification channels: one for "notifications.{info,error}" and one for "monitor.{info,error}" so that stacktach can get the messages from monitor queue, and other services get messages from "notifications" queue.

Now, the question becomes why I cannot see "monitor" queue in rabbitmq admin console when I set "notifications_topic = notifications,monitor" in nova, cinder, etc.

edit retag flag offensive close merge delete

Comments

Was the nova.conf file updated on both the controller and compute nodes?

raul.flores gravatar imageraul.flores ( 2015-05-06 14:49:32 -0600 )edit

Yes, it was updated. Actually I may have found the problem. I am editing the question now.

Eren T. gravatar imageEren T. ( 2015-05-07 02:46:03 -0600 )edit