<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } @font-face { font-family: Wingdings; } @font-face { font-family: 'Cambria Math'; } @font-face { font-family: Calibri; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; } a:link, span.MsoHyperlink { color: rgb(5, 99, 193); text-decoration: underline; } a:visited, span.MsoHyperlinkFollowed { color: rgb(149, 79, 114); text-decoration: underline; } p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph { margin: 0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; } span.EmailStyle17 { font-family: Calibri, sans-serif; color: windowtext; } @page WordSection1 { margin: 1in; } ol { margin-bottom: 0in; } ul { margin-bottom: 0in; }--></style>
</head>
<body dir="ltr" style="font-size:10pt;color:#000000;background-color:#FFFFFF;font-family:'Courier New',monospace;">
<p>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. <br>
</p>
<p><br>
</p>
<p><a href="https://wiki.openstack.org/wiki/SystemUsageData">https://wiki.openstack.org/wiki/SystemUsageData</a><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Chris <contact@progbau.de><br>
<b>Sent:</b> Monday, March 2, 2015 7:29 AM<br>
<b>To:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> [Openstack] Action notification in nova for delete an instance</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">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:</p>
<p class="MsoNormal">scheduler.run_instance.start</p>
<p class="MsoNormal">scheduler.run_instance.scheduled</p>
<p class="MsoNormal">scheduler.run_instance.end</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">That’s exactly what we need, but unfortunately for the deletion nothing is send.
</p>
<p class="MsoNormal">How we can get the notification for the deletion or is there a different way?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks in advance!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Cheers</p>
<p class="MsoNormal">Chris</p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</body>
</html>