<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Roman,<div class=""><br class=""></div><div class="">Here are some things that may help you:</div><div class=""><ul class="MailOutline"><li class="">In Mistral we’ve been aware of this post-message-processing ACK problem since we began to use oslo.messaging and we’ve been communicating with oslo team in order to fix that. Patch [1] is supposed to help us finally solve it. I would encourage you to participate in that effort too to make sure this matches your understanding of the problem. We’ve also seen a bug [2] that you filed at Launchpad so we’ll be updating its status.</li><li class="">As far as Mistral HA, I would say the following: it is actually supported by design but there’s a number of issues with its implementation. Not that it’s an HA info but, FYI, there are existing Mistral installations working in production with multiple Mistral engines, executors and api servers. Although I have to admit that it’s not so easy yet to make such installations work reliably. Generally, we keep working on it and we have huge plans for making Mistral HA in Mitaka cycle. Significant part of design sessions in Tokyo will be exactly about HA which includes a lot of things: proper testing, profiling, identifying points of failure and overall performance improvement (which is also one of the things influencing overall robustness).</li><li class="">As far as the task you’re trying to solve, I can say that, IMO, Mistral is a good candidate for this just because it’s really a standalone reliable service that can take execution of a long process under its control. This is one of the main ideas behind it. Currently we are planning to address similar cases with Mistral within our company. I think we’ll share the results when once we get something done and described.</li></ul><div class=""><br class=""></div></div><div class="">Thanks for bringing this up. And I'll say what I usually do: you’re very welcome to contribute into Mistral, it should be fun to do.</div><div class=""><br class=""></div><div class="">Looking forward to hear more from you about your discoveries.</div><div class=""><br class=""></div><div class="">[1] <a href="https://review.openstack.org/#/c/229186/" class="">https://review.openstack.org/#/c/229186/</a></div><div class="">[2] <a href="https://bugs.launchpad.net/mistral/+bug/1502120" class="">https://bugs.launchpad.net/mistral/+bug/1502120</a></div><div class=""><br class=""><div class="">
<div class="">Renat Akhmerov</div><div class="">@ Mirantis Inc.</div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 02 Oct 2015, at 19:05, Roman Dobosz <<a href="mailto:roman.dobosz@intel.com" class="">roman.dobosz@intel.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi all,<br class=""><br class="">The case of automatic evacuation (or resurrection currently), is a topic <br class="">which surfaces once in a while, but it isn't yet fully supported by <br class="">OpenStack and/or by the cluster services. There was some attempts to <br class="">bring the feature into OpenStack, however it turns out it cannot be <br class="">easily integrated with. On the other hand evacuation may be executed <br class="">from the outside using Nova client or Nova API calls for evacuation <br class="">initiation.<br class=""><br class="">I did some research regarding the ways how it could be designed, based <br class="">on Russel Bryant blog post[1] as a starting point. Apart from it, I've <br class="">also taken high availability and reliability into consideration when <br class="">designing the solution.<br class=""><br class="">Together with coworker, we did first PoC[2] to enable cluster to be able <br class="">to perform evacuation. The idea behind that PoC was simple - providing <br class="">additional, small service which would trigger and supervise the <br class="">evacuation process, which would be triggered from the outside (in this <br class="">example we were using Pacemaker fencing facility, but it might be <br class="">anything) using RabbitMQ directly. Those services are running on the <br class="">control plane in AA fashion.<br class=""><br class="">That work well for us. So we started exploring other possibilities like <br class="">oslo.messaging just to use it in the same manner as we did in the poc. <br class="">It turns out that the implementation will not be as easy, because there <br class="">is no facility in the oslo.messaging for letting sending an ACK from the <br class="">client after the job is done (not as soon as it gets the message). We <br class="">also looked at the existing OpenStack projects for a candidate which <br class="">provide service for managing long running tasks.<br class=""><br class="">There is the Mistral project, which gives us almost all the features we <br class="">need. The one missing feature is the HA of the Mistral tasks execution.<br class=""><br class="">The question is, how such problem (long running tasks) could be resolved <br class="">in OpenStack?<br class=""><br class="">[1] <a href="http://blog.russellbryant.net/2014/10/15/openstack-instance-ha-proposal/" class="">http://blog.russellbryant.net/2014/10/15/openstack-instance-ha-proposal/</a><br class="">[2] <a href="https://github.com/dawiddeja/evacuationd" class="">https://github.com/dawiddeja/evacuationd</a><br class=""><br class="">-- <br class="">Cheers,<br class="">Roman Dobosz<br class=""><br class="">__________________________________________________________________________<br class="">OpenStack Development Mailing List (not for usage questions)<br class="">Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class=""></div></blockquote></div><br class=""></div></body></html>