Ask Your Question
0

Openstack nova notification only on instance creation

asked 2015-09-07 10:02:31 -0500

itsme gravatar image

I have done setup of openstack devstack in such a way that it should generate notifications to rabbitmq.

Now I need to configure the notificans system in such a way that generating the notification messages only on instance creation.

Is there is any possibility of doing the same?

As of now my Openstack nova.conf file for generating notifications is as follows:

notification_driver=nova.openstack.common.notifier.rpc_notifier
notification_topics=notifications,newqueue

Someone let me know the way for configuring openstack devstack in such a way that receive notifications only on instance creation.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-10 02:25:28 -0500

itsme gravatar image

I have done more research on getting notifications only on Instance creation.

In the mean time I can be able to see that there is no particular way for the same was there for getting notifications only at the time of instance creation.

I found the solution for my requirement in a different way.

I can be able to frame the python code in such a way that listening to queue for particular instance creation using the JSON response event_type keyword.

If particular event is occurring I can be able to get track the event,

So that I can be able to do the actions as needed at the time of instance creation.

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

1 follower

Stats

Asked: 2015-09-07 10:02:31 -0500

Seen: 121 times

Last updated: Sep 10 '15