----- Original Message -----
> Hi Dear All,
> 
> I am wondering that is there any way in Openstack to know when new instance
> is created ? is there any Python API to do this ? Since I want to monitor
> the instance creation event and trigger another event, thus, my program
> needs to be know whenever a new instance is created.
> 
> I can run a daemon keep listening the nova-manage or other, when a new
> instance is created, this daemon will know then let other program know to
> take some actions.
> 
> Thanks very much for any comment.


You may be able to use a ceilometer dispatcher, similar to 
https://github.com/Katello/ceilometer_katello_dispatcher.

I usually look for "compute.instance.create.end" to see when an instance is 
created.


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to