Ask Your Question

no "compute.instance.update" notification when launching instance

asked 2015-01-04 10:49:24 -0500

Uzi gravatar image

updated 2015-01-04 11:39:52 -0500

Hi All

I am developing inegration to nova using api and rabbitmq by listening to exchange nova with spcific queue and binding key that pass all ("#") ,

the controller is openstack Juno on ubuntu 14

i get event type compute.instance.create.start/end but lack the event type compute.instance.update messages in between

i need them for changing the task state ( BUILDING , SPAWNING etc)

the nova.conf is configured with vm_and_task_state

notify_on_state_change = vm_and_task_state
notification_driver = nova.openstack.common.notifier.rpc_notifier

what i am lacking here in order to get those messages ? (my alternativ is to use object_action event type but still...)

thanks in advance


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-02-12 13:01:48 -0500

Rakesh Patnaik gravatar image

updated 2015-02-12 18:00:07 -0500

I could suggest some more debugging steps:

  • login to rabbitmq admin console and check for queue:
  • You could retrieve messages from queue on the admin page and analyze the payload for metadata.event_type=compute.instance.update
  • grep /var/log/ceilometer/ceilometer-agent-notification.log for compute.instance.update
  • nova.conf






edit flag offensive delete link more

answered 2015-01-04 12:59:07 -0500

updated 2015-01-04 13:02:31 -0500

Building and spawning are not compute events but are schedular events. So unfortunately you wont see those notifications from compute.

Compute events would be more like:

Active Shutdown Snapshotting ....

Here is the official doc explaining all notification types for system usage.

edit flag offensive delete link more


Thanks btw, in the doc they explain the usage of event type compute.instance.update , its why i got there in the first place

Uzi gravatar imageUzi ( 2015-01-05 02:41:02 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-04 10:17:25 -0500

Seen: 1,613 times

Last updated: Feb 12 '15