>From what i have figured out so far, the exchange queue is "nova" and the routing key in your case is "<a href="http://notifications.info">notifications.info</a>".<br><br><div class="gmail_quote">On Wed, Mar 28, 2012 at 9:05 PM, Rogério Vinhal Nunes <span dir="ltr"><<a href="mailto:rogervn@dcc.ufmg.br">rogervn@dcc.ufmg.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to find out information to make an application that consumes 
the compute info, but I'm having some trouble. Is there a better 
documentation I could follow and the precise details of the 
queue/exchange/routing_key needed to take information at the end of each
 run-instance and terminate-instance?<br>
<br>Also, I'm using amqplib and I saw that Openstack uses an internal 
library named Carrot that uses amqplib. Would it be better to use it 
instead?<br><br><div class="gmail_quote">Em 27 de março de 2012 12:42, Sandy Walsh <span dir="ltr"><<a href="mailto:sandy.walsh@rackspace.com" target="_blank">sandy.walsh@rackspace.com</a>></span> escreveu:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I believe '.exists' is sent via a periodic update in compute.manager.<br>
<div><br>
<br>
<br>
On 03/27/2012 12:08 PM, Leander Bessa wrote:<br>
> Hello,<br>
><br>
> I've been following this topic and i've been trying to receive the<br>
> notifications directly from rabbitmq with python+pika. So i far<br>
> i've managed to receive the start/terminate events and everything in<br>
> between. What i am unable to find though is the topic regarding<br>
</div>> _compute.instance.exists_<br>
<div>> from <a href="http://wiki.openstack.org/SystemUsageData" target="_blank">http://wiki.openstack.org/SystemUsageData</a>. Does this even exist, or<br>
> is there some extra configuration required with nova?<br>
><br>
> Regards,<br>
><br>
> Leander<br>
><br>
> On Mon, Mar 26, 2012 at 4:54 PM, Russell Bryant <<a href="mailto:rbryant@redhat.com" target="_blank">rbryant@redhat.com</a><br>
</div><div><div>> <mailto:<a href="mailto:rbryant@redhat.com" target="_blank">rbryant@redhat.com</a>>> wrote:<br>
><br>
>     -----BEGIN PGP SIGNED MESSAGE-----<br>
>     Hash: SHA1<br>
><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>
>     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>
><br>
>     _______________________________________________<br>
>     Mailing list: <a href="https://launchpad.net/%7Eopenstack" 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>
</div></div>>     <mailto:<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>><br>
<div><div>>     Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" 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>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/%7Eopenstack" 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/%7Eopenstack" 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>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" 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/%7Eopenstack" 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></div></div><br>
<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">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>
<br></blockquote></div><br>