<div dir="ltr">Hello Nikita,<div><br></div><div>There is no technical reason this cannot be made variable. I don't think anyone could come up with a valid reason to block such a patch.</div><div><br></div><div>However, I would ask what you plan to gain from _not_ having it 'autoheal'? The other options for partition handling are basically "let it partition and do nothing" and "quarantine the partitioned node". Each of those require an operator to take action. I have not personally known a single OpenStack operator to ever go and recover a message from a partitioned rabbitmq node and reinject it into the cluster. In fact, I do not know if that would even be an advisable action given the retries that exist within OpenStack. Not to mention the times when the resource was, say, a new port in Neutron and you reinject the message after the VM consuming that port was deleted.</div><div><br></div><div>With the reasons above, it is hard to justify anything but 'autoheal' for OpenStack specifically. I certainly don't see any advantages.</div><div><br></div><div>Now that the ask has been made though, a variable would be 2 lines of code in total, so I say go for it.</div><div><br></div><div>Thanks,</div><div>SamYaple</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Sam Yaple</div></div></div></div>
<br><div class="gmail_quote">On Mon, Mar 20, 2017 at 2:43 PM, Nikita Gerasimov <span dir="ltr"><<a href="mailto:nikita.gerasimov@oracle.com" target="_blank">nikita.gerasimov@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Since [1] kolla-ansible have rabbitmq cluster_partition_handling option hard-coded to 'autoheal'. According to [2] it's not a best mode for 3+ node clusters with reliable network.<br>
Is it reasonable to make this option changeable by user or even place some logic to pickup mode based on cluster structure?<br>
Or we have a reason to keep it hard-coded?<br>
<br>
<br>
[1] <a href="https://github.com/openstack/kolla-ansible/commit/0c6594c25864d0c90cd0009726cee84967fe65dc" rel="noreferrer" target="_blank">https://github.com/openstack/k<wbr>olla-ansible/commit/0c6594c258<wbr>64d0c90cd0009726cee84967fe65dc</a><br>
[2] <a href="https://www.rabbitmq.com/partitions.html" rel="noreferrer" target="_blank">https://www.rabbitmq.com/parti<wbr>tions.html</a><br>
<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</blockquote></div><br></div>