[Openstack] Action notification in nova for delete an instance

Adrián Norte Fernández adrian at bashlines.com
Mon Mar 2 14:49:06 UTC 2015


Why don't use a hook?
El 02/03/2015 15:47, "Sandy Walsh" <sandy.walsh at rackspace.com> escribió:

>  Enable notifications on the compute nodes and you'll get
> compute.instance.create.end and compute.instance.delete.end notifications
> for these operations. It sounds like you only have them enabled on the
> scheduler/api nodes currently.
>
>
>  https://wiki.openstack.org/wiki/SystemUsageData
>
>
>
>  ------------------------------
> *From:* Chris <contact at progbau.de>
> *Sent:* Monday, March 2, 2015 7:29 AM
> *To:* openstack at lists.openstack.org
> *Subject:* [Openstack] Action notification in nova for delete an instance
>
>
> Hello,
>
>
>
> We want to execute our own code when an instance gets stared or deleted.
> So we had a look at the message queue and saw that during the creation of
> an instance three messages are send:
>
> scheduler.run_instance.start
>
> scheduler.run_instance.scheduled
>
> scheduler.run_instance.end
>
>
>
> That’s exactly what we need, but unfortunately for the deletion nothing is
> send.
>
> How we can get the notification for the deletion or is there a different
> way?
>
>
>
> Thanks in advance!
>
>
>
> Cheers
>
> Chris
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150302/86d4d210/attachment.html>


More information about the Openstack mailing list