Hello, <br><br>I've been following this topic and i've been trying to receive the notifications directly from rabbitmq with python+pika. So i far i've managed to receive the start/terminate events and everything in between. What i am unable to find though is the topic regarding <u>compute.instance.exists</u> from <a href="http://wiki.openstack.org/SystemUsageData">http://wiki.openstack.org/SystemUsageData</a>. Does this even exist, or is there some extra configuration required with nova?<div>
<br></div><div>Regards,</div><div><br>Leander<br><br><div class="gmail_quote">On Mon, Mar 26, 2012 at 4:54 PM, Russell Bryant <span dir="ltr"><<a href="mailto:rbryant@redhat.com" target="_blank">rbryant@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div><br>
On 03/26/2012 11:48 AM, Russell Bryant wrote:<br>
> On 03/26/2012 10:15 AM, Rogério Vinhal Nunes wrote:<br>
>> Hello,<br>
>><br>
>> I'm developing a application to work along with openstack. My<br>
>> application needs to keep track of all instances being started<br>
>> or terminated such as feeding it information about the location,<br>
>> status and other information about launched and terminated<br>
>> instances. The current version makes timed queries to OpenStack<br>
>> database, but this is showing to be a little consuming and<br>
>> inefficient, so I would like to add a portion of code to make<br>
>> OpenStack actively feed my application information whenever an<br>
>> instance changes its status or location.<br>
>><br>
>> What is the least intrusive way to do that? It would be very nice<br>
>> if OpenStack provided a way to run code on these situations<br>
>> without actually changing any code, such as defining a directory<br>
>> of scripts to run in every instance status change.<br>
><br>
> Check out the notifications system:<br>
><br>
> <a href="http://wiki.openstack.org/NotificationSystem" target="_blank">http://wiki.openstack.org/NotificationSystem</a><br>
><br>
<br>
</div>That wasn't the page I thought it was ... I meant:<br>
<br>
    <a href="http://wiki.openstack.org/SystemUsageData" target="_blank">http://wiki.openstack.org/SystemUsageData</a><br>
<br>
You can consume these events via AMQP if you configure nova to use the<br>
rabbit notifier.<br>
<br>
- --<br>
Russell Bryant<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAk9wkSgACgkQFg9ft4s9SAYFuACfUu23qtxiH6WLCJNyd9gBf8i1<br>
FwQAnifjwWkFHYxo+KhYt8TAWEzTaMYZ<br>
=UWlH<br>
-----END PGP SIGNATURE-----<br>
<div><div><br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br>
</div>