<div dir="ltr">Hi,<div><br></div><div>so I found how to plug into it - one needs to add a routing key to </div><div><br></div><div>queue: <a href="http://notification.info">notification.info</a></div><div><br></div><div>from</div><div><br></div><div>bind the following:</div><div><br></div><div>topic/exchange: nova</div><div>routing key: compute.#</div><div><br></div><div>the # is a lazy wildcard matching 0 or more words - you can also use * but that only matches at most 1 word ;) ... otherwise you'll need to plug into the queue for every hypervisor - and you dont want to need to do that :) </div><div><br></div><div>--</div><div><br></div><div>The json payload is a bit weird, it's like a json encapsulating json : </div><div><br></div><div><pre class="" style="color:rgb(72,72,72);font-size:12px;line-height:17px">{"oslo.message": "{\"_context_roles\": [\"_member_\"], .... <span style="font-family:arial">, "oslo.version": "2.0"}</span></pre></div><div><br></div><div>Hope it helps someone! </div><div>Alex</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 October 2014 21:18, Alex Leonhardt <span dir="ltr"><<a href="mailto:aleonhardt.py@gmail.com" target="_blank">aleonhardt.py@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andy,<div><br></div><div>Thanks! I guess they come in via the compute queue and I should match compute.instance.* to the <a href="http://notification.info" target="_blank">notification.info</a> queue ? </div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Alex</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 1 October 2014 19:23, Andy Hill <span dir="ltr"><<a href="mailto:hillad@gmail.com" target="_blank">hillad@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I believe the notifications you're looking for are:<br>
<br>
- compute.instance.rebuild.start<br>
- compute.instance.rebuild.end<br>
<br>
<br>
-AH<br>
<div><div><br>
On Wed, Oct 1, 2014 at 11:44 AM, Alex Leonhardt <<a href="mailto:aleonhardt.py@gmail.com" target="_blank">aleonhardt.py@gmail.com</a>> wrote:<br>
> HI all,<br>
><br>
> I'm looking for the notifications a "rebuild instance" should be publishing,<br>
> but I can't seem to see any messages arriving in the "<a href="http://notifications.info" target="_blank">notifications.info</a>"<br>
> nor "notifications.error" queue.<br>
><br>
> We already use this to dynamically create/delete DNS entries, however,<br>
> rebuilding a VM screws with our puppet certs for the client and we will need<br>
> to trigger a deletion of the client cert if a rebuild happens.<br>
><br>
> Any pointers ?<br>
><br>
> Alex<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> OpenStack-operators mailing list<br>
> <a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>