Ask Your Question
1

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

Uzi

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

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: notifications.info
  • You could retrieve messages from notifications.info 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

notification_driver=nova.openstack.common.notifier.rpc_notifier

notification_driver=ceilometer.compute.nova_notifier

default_notification_level=INFO

instance_usage_audit=True

instance_usage_audit_period=hour

edit flag offensive delete link more
0

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.

https://wiki.openstack.org/wiki/Syste...

edit flag offensive delete link more

Comments

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

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

1 follower

Stats

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

Seen: 1,460 times

Last updated: Feb 12 '15