<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>thanks Jeffrey<br>
</p>
<br>
<div class="moz-cite-prefix">On 05/05/2018 03:03 AM, Jeffrey Zhang
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAATxhGdkzfoPMtYnaBa4Ovv9BRK091=qg1XZbLRLhjsPJd_dBw@mail.gmail.com">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small">Hi
vladispay,</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small">I
guess you are talking rabbit_ha_queues options. It is already
marked as deprecated[0].</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;font-size:small">
<div class="gmail_default"> cfg.BoolOpt('rabbit_ha_queues'<wbr>,</div>
<div class="gmail_default"> default=False,</div>
<div class="gmail_default">
deprecated_group='DEFAULT',</div>
<div class="gmail_default"> help='Try to use HA
queues in RabbitMQ (x-ha-policy: all). '</div>
<div class="gmail_default"> 'If you change this
option, you must wipe the RabbitMQ '</div>
<div class="gmail_default"> 'database. In
RabbitMQ 3.0, queue mirroring is no longer '</div>
<div class="gmail_default"> 'controlled by the
x-ha-policy argument when declaring a '</div>
<div class="gmail_default"> 'queue. If you just
want to make sure that all queues (except '</div>
<div class="gmail_default"> 'those with
auto-generated names) are mirrored across all '</div>
<div class="gmail_default"> 'nodes, run: '</div>
<div class="gmail_default"> """\"rabbitmqctl
set_policy HA '^(?!amq\.).*' """</div>
<div class="gmail_default"> """'{"ha-mode":
"all"}' \""""),</div>
<div><br>
</div>
<div>In kolla, we configure a global ha-mode policy through
its definition.json file in rabbitmq, please check[1]</div>
<div><br>
</div>
<div>[0] <a
href="https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L165-L176"
target="_blank" moz-do-not-send="true">https://github.com/<wbr>openstack/oslo.messaging/blob/<wbr>master/oslo_messaging/_<wbr>drivers/impl_rabbit.py#L165-<wbr>L176</a></div>
<div>[1] <a
href="https://github.com/openstack/kolla-ansible/blob/d2d9c6622888416ad2e748706fd237f8588e993a/ansible/roles/rabbitmq/templates/definitions.json.j2#L20"
target="_blank" moz-do-not-send="true">https://github.com/<wbr>openstack/kolla-ansible/blob/<wbr>d2d9c6622888416ad2e748706fd237<wbr>f8588e993a/ansible/roles/<wbr>rabbitmq/templates/<wbr>definitions.json.j2#L20</a></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, May 5, 2018 at 12:58 AM, <span
dir="ltr"><<a
href="mailto:vladislav.belogrudov@oracle.com"
target="_blank" moz-do-not-send="true">vladislav.belogrudov@oracle.<wbr>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>
is there a reason we don't configure services for rabbitmq
ha queues like it is suggested in [0] ?<br>
Rabbitmq itself has ha policy 'on' via one of its
templates.<br>
<br>
Thanks,<br>
Vladislav Belogrudov<br>
<br>
[0] <a
href="https://docs.openstack.org/ha-guide/shared-messaging.html#rabbitmq-services"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://docs.openstack.org/ha-<wbr>guide/shared-messaging.html#ra<wbr>bbitmq-services</a><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" moz-do-not-send="true">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" moz-do-not-send="true">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-4696951723407163645gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><span
style="font-size:13px;border-collapse:collapse"><font
face="arial, helvetica, sans-serif">Regards,</font></span></div>
<div><span
style="font-size:13px;border-collapse:collapse"><font
face="arial, helvetica, sans-serif">Jeffrey
Zhang</font></span></div>
<div><font face="arial, helvetica,
sans-serif"><span
style="font-size:12.8px">Blog: </span><a
href="http://xcodest.me/"
style="font-size:12.8px"
target="_blank"
moz-do-not-send="true">http://xcodest.me</a></font><font
face="monospace, monospace"><br>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>