<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Andrew,<br>
<br>
as we could find in the <a
href="http://wiki.openstack.org/NotificationSystem">notification
system wiki</a>,
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
we had to add the flag
(--notification_driver=nova.notifier.rabbit_notifier) in all modules
configuration (
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
/etc/nova/nova-network.conf, nova-compute.conf, nova-volume.conf).
And restart them.<br>
<br>
Then you can consume from the exchange name "nova" (in the rabbitmq
server) the create/delete events. You can see the following example
from my system:<br>
<pre>{
"_context_roles": [],
"_context_request_id": "80ad9bd1-b68d-4484-be3f-6525b2f57b8f",
"event_type": "compute.instance.create",
"timestamp": "2012-01-13 11:39:55.946786",
"_context_auth_token": null,
"_context_user_id": null,
"payload": {
"display_name": "one instance",
"created_at": "2012-01-13 11:39:52",
"instance_type_id": 2,
"instance_id": 14,
"instance_type": "m1.tiny",
"image_ref": "9",
"user_id": "admin",
"project_id": "2",
"launched_at": ""
},
"_context_read_deleted": false,
"priority": "INFO",
"_context_strategy": "noauth",
"_context_is_admin": true,
"_context_project_id": null,
"_context_timestamp": "2012-01-13T11:39:55.946820",
"publisher_id": "compute.nova-controller",
"message_id": "3dc192a1-c263-46d4-bde1-94406978517f",
"_context_remote_address": null
}
</pre>
This is what I have found for the moment in the Diablo release.<br>
<br>
Regards<br>
<div class="moz-signature">-- <br>
<p style="margin-bottom: 0in; widows: 2; orphans: 2"><font
face="Arial"><font style="font-size: 9pt" size="2"><span
lang="es-ES"><span style="font-style: normal"><span
style="font-weight: normal">Juan
Antonio García Lebrijo<br>
</span></span></span></font></font><font face="arial,
helvetica, sans-serif"><font size="2"><span style="font-style:
normal"><b>Senior Developer / Software Architect</b></span></font></font><font
face="arial, helvetica, sans-serif"><font size="1"><span
style="font-style: normal"><span style="font-weight:
normal"><br>
</span></span></font></font><a
href="http://www.stackops.com/" target="_blank"><font
color="#0000cc"><font face="arial, helvetica, sans-serif"><font
size="2"><span style="font-style: normal"><b>www.stackops.com</b></span></font></font></font></a> <font
face="arial, helvetica, sans-serif"><font size="2"><span
style="font-style: normal"><b>| </b></span></font></font> <a
href="mailto:juan.lebrijo@stackops.com" target="_blank"><font
color="#0000cc"><font face="arial, helvetica, sans-serif"><font
size="1"><span style="font-style: normal"><span
style="font-weight: normal">juan.lebrijo@stackops.com</span></span></font></font></font></a><font
color="#000000"> </font><font color="#000000"><font
face="arial, helvetica, sans-serif"><font size="1"><span
style="font-style: normal"><span style="font-weight:
normal">| </span></span></font></font></font><font
color="#0000cc"><font face="arial, helvetica, sans-serif"><font
size="1"><span style="font-style: normal"><span
style="font-weight: normal">skype:juan.lebrijo.stackops</span></span></font></font></font></p>
<p style="font-style: normal; font-weight: normal; widows: 2;
orphans: 2">
<font color="#000000"><font face="arial, sans-serif"><font
size="1">********************
ADVERTENCIA LEGAL ******************** <br>
Le informamos, como
destinatario de este mensaje, que el correo electrónico y
las
comunicaciones por medio de Internet no permiten asegurar
ni
garantizar la confidencialidad de los mensajes
transmitidos, así
como tampoco su integridad o su correcta recepción, por lo
que
STACKOPS TECHNOLOGIES S.L. no asume responsabilidad alguna
por tales
circunstancias. Si no consintiese en la utilización del
correo
electrónico o de las comunicaciones vía Internet le
rogamos nos lo
comunique y ponga en nuestro conocimiento de manera
inmediata. Este
mensaje va dirigido, de manera exclusiva, a su
destinatario y
contiene información confidencial y sujeta al secreto
profesional,
cuya divulgación no está permitida por la ley. En caso de
haber
recibido este mensaje por error, le rogamos que, de forma
inmediata,
nos lo comunique mediante correo electrónico remitido a
nuestra
atención y proceda a su eliminación, así como a la de
cualquier
documento adjunto al mismo. Asimismo, le comunicamos que
la
distribución, copia o utilización de este mensaje, o de
cualquier
documento adjunto al mismo, cualquiera que fuera su
finalidad, están
prohibidas por la ley. <br>
<br>
***************** PRIVILEGED AND
CONFIDENTIAL **************** <br>
We hereby inform you, as
addressee of this message, that e-mail and Internet do not
guarantee
the confidentiality, nor the completeness or proper
reception of the
messages sent and, thus, STACKOPS TECHNOLOGIES S.L. does
not assume
any liability for those circumstances. Should you not
agree to the
use of e-mail or to communications via Internet, you are
kindly
requested to notify us immediately. This message is
intended
exclusively for the person to whom it is addressed and
contains
privileged and confidential information protected from
disclosure by
law. If you are not the addressee indicated in this
message, you
should immediately delete it and any attachments and
notify the
sender by reply e-mail. In such case, you are hereby
notified that
any dissemination, distribution, copying or use of this
message or
any attachments, for any purpose, is strictly prohibited
by law.</font></font></font></p>
<p style="margin-bottom: 0in"><br>
</p>
</div>
<br>
<br>
<br>
On 02/13/2012 04:05 PM, Andrew Bogott wrote:
<blockquote cite="mid:4F39269F.5050807@gmail.com" type="cite">Is
there a way to subscribe to nova events so that I get notified of
instance changes? For example, I'd like to know when a server
changes state from 'Build' to 'Active'.
<br>
<br>
If there isn't, would the addition of such a facility be welcome?
<br>
<br>
_______________________________________________
<br>
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
<br>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
<br>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
<br>
More help : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
<br>
</blockquote>
<br>
</body>
</html>