<div dir="ltr">This is what i am doing in my deployment, not sure if this is right or not but it works for me and survives my cluster all reboot. <div><br></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""># cat /etc/kolla/config/rabbitmq/definitions.json</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced"">{</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"vhosts": [{</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"name": "/"</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>}],</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"users": [{</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"name": "openstack",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"password": "Password123",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"tags": "administrator"</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>},</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>{</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"name": "monitoring",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"password": "Password321",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"tags": "monitoring"</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>}</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>],</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"permissions": [{</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"user": "openstack",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"vhost": "/",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"configure": ".*",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"write": ".*",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"read": ".*"</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>},</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>{</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"user": "monitoring",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"vhost": "/",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"configure": "^$",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"write": "^$",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"read": ".*"</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>}</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>],</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"policies": [{</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"vhost": "/",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"name": "ha-all",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"pattern": "^(?!(amq\\.)|(.*_fanout_)|(reply_)).*",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"apply-to": "all",</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"definition": {</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"ha-mode": "all"</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>},</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>"priority": 0</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced""><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>}]</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:".AppleSystemUIFontMonospaced"">}</p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 11, 2023 at 10:04 AM Sean Mooney <<a href="mailto:smooney@redhat.com">smooney@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 2023-04-11 at 15:18 +0200, Michal Arbet wrote:<br>
> Hi,<br>
> <br>
> Btw, why we have such option set to false ?<br>
it has a pretty big performance penalty if combined with durable queue<br>
and in generall its questionable if it should be used going forward.<br>
<br>
there is an argument to be made that ha/mirrored queues and durable queue shoudl be replaced<br>
with <a href="https://www.rabbitmq.com/quorum-queues.html" rel="noreferrer" target="_blank">https://www.rabbitmq.com/quorum-queues.html</a><br>
<br>
<br>
the other thing to consider is that this needs to eb set per vhost<br>
so if two serivce share a vhost it needs to be set to the same value.<br>
<br>
in general for notificaiton both ha and durable queues shoudl be disabled as notifcation are intented<br>
to be fire and forget<br>
for rpc calls or casts having relibale deliver is imporant but how you acive that is archittur dependent.<br>
meaning using ha queue is not alwasy the corrct default.<br>
if you need to scale to many request per secodn you are better off using durable queuse with storge on something like<br>
ceph/nfs and an active/backup deployment with one rabbit per openstack service. you might choose to run such a rabbit<br>
cluster in a k8s env for example using persitent voluems.<br>
<br>
in other cases simple ha queues and a shred rabbit is fine for small scale deployments.<br>
quorum queue may also make more sense.<br>
<br>
this is why rabbit is called out in the production arctechture guide<br>
<a href="https://docs.openstack.org/kolla-ansible/latest/admin/production-architecture-guide.html#other-core-services" rel="noreferrer" target="_blank">https://docs.openstack.org/kolla-ansible/latest/admin/production-architecture-guide.html#other-core-services</a><br>
and why there is an option to opt into ha/durable queues since that is often enough for small scale deployments.<br>
<a href="https://docs.openstack.org/kolla-ansible/latest/reference/message-queues/rabbitmq.html#high-availability" rel="noreferrer" target="_blank">https://docs.openstack.org/kolla-ansible/latest/reference/message-queues/rabbitmq.html#high-availability</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
> Michal Arbet<br>
> Openstack Engineer<br>
> <br>
> Ultimum Technologies a.s.<br>
> Na Poříčí 1047/26, 11000 Praha 1<br>
> Czech Republic<br>
> <br>
> +420 604 228 897<br>
> <a href="mailto:michal.arbet@ultimum.io" target="_blank">michal.arbet@ultimum.io</a><br>
> *<a href="https://ultimum.io" rel="noreferrer" target="_blank">https://ultimum.io</a> <<a href="https://ultimum.io/" rel="noreferrer" target="_blank">https://ultimum.io/</a>>*<br>
> <br>
> LinkedIn <<a href="https://www.linkedin.com/company/ultimum-technologies" rel="noreferrer" target="_blank">https://www.linkedin.com/company/ultimum-technologies</a>> | Twitter<br>
> <<a href="https://twitter.com/ultimumtech" rel="noreferrer" target="_blank">https://twitter.com/ultimumtech</a>> | Facebook<br>
> <<a href="https://www.facebook.com/ultimumtechnologies/timeline" rel="noreferrer" target="_blank">https://www.facebook.com/ultimumtechnologies/timeline</a>><br>
> <br>
> <br>
> út 11. 4. 2023 v 14:48 odesílatel Michał Nasiadka <<a href="mailto:mnasiadka@gmail.com" target="_blank">mnasiadka@gmail.com</a>><br>
> napsal:<br>
> <br>
> > Hello,<br>
> > <br>
> > RabbitMQ HA has been backported into stable releases, and it’s documented<br>
> > here:<br>
> > <br>
> > <a href="https://docs.openstack.org/kolla-ansible/yoga/reference/message-queues/rabbitmq.html#high-availability" rel="noreferrer" target="_blank">https://docs.openstack.org/kolla-ansible/yoga/reference/message-queues/rabbitmq.html#high-availability</a><br>
> > <br>
> > Best regards,<br>
> > Michal<br>
> > <br>
> > W dniu wt., 11.04.2023 o 13:32 Nguyễn Hữu Khôi <<a href="mailto:nguyenhuukhoinw@gmail.com" target="_blank">nguyenhuukhoinw@gmail.com</a>><br>
> > napisał(a):<br>
> > <br>
> > > Yes.<br>
> > > But cluster cannot work properly without it. :(<br>
> > > <br>
> > > On Tue, Apr 11, 2023, 6:18 PM Danny Webb <<a href="mailto:Danny.Webb@thehutgroup.com" target="_blank">Danny.Webb@thehutgroup.com</a>><br>
> > > wrote:<br>
> > > <br>
> > > > This commit explains why they largely removed HA queue durability:<br>
> > > > <br>
> > > > <br>
> > > > <a href="https://opendev.org/openstack/kolla-ansible/commit/2764844ee2ff9393a4eebd90a9a912588af0a180" rel="noreferrer" target="_blank">https://opendev.org/openstack/kolla-ansible/commit/2764844ee2ff9393a4eebd90a9a912588af0a180</a><br>
> > > > ------------------------------<br>
> > > > *From:* Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>><br>
> > > > *Sent:* 09 April 2023 04:16<br>
> > > > *To:* Nguyễn Hữu Khôi <<a href="mailto:nguyenhuukhoinw@gmail.com" target="_blank">nguyenhuukhoinw@gmail.com</a>><br>
> > > > *Cc:* OpenStack Discuss <<a href="mailto:openstack-discuss@lists.openstack.org" target="_blank">openstack-discuss@lists.openstack.org</a>><br>
> > > > *Subject:* Re: [openstack][sharing][kolla ansible]Problems when 1 of 3<br>
> > > > controller was be down<br>
> > > > <br>
> > > > <br>
> > > > * CAUTION: This email originates from outside THG *<br>
> > > > ------------------------------<br>
> > > > Are you proposing a solution or just raising an issue?<br>
> > > > <br>
> > > > I did find it strange that kolla-ansible doesn't support HA queue by<br>
> > > > default. That is a disaster because when one of the nodes goes down it will<br>
> > > > make the whole rabbitMQ unacceptable. Whenever i deploy kolla i have to add<br>
> > > > HA policy to make queue HA otherwise you will endup in problem.<br>
> > > > <br>
> > > > On Sat, Apr 8, 2023 at 6:40 AM Nguyễn Hữu Khôi <<br>
> > > > <a href="mailto:nguyenhuukhoinw@gmail.com" target="_blank">nguyenhuukhoinw@gmail.com</a>> wrote:<br>
> > > > <br>
> > > > Hello everyone.<br>
> > > > <br>
> > > > I want to summary for who meets problems with Openstack when deploy<br>
> > > > cluster with 3 controller using Kolla Ansible<br>
> > > > <br>
> > > > Scenario: 1 of 3 controller is down<br>
> > > > <br>
> > > > 1. Login horizon and use API such as nova, cinder will be very slow<br>
> > > > <br>
> > > > fix by:<br>
> > > > <br>
> > > > nano:<br>
> > > > kolla-ansible/ansible/roles/heat/templates/heat.conf.j2<br>
> > > > kolla-ansible/ansible/roles/nova/templates/nova.conf.j2<br>
> > > > kolla-ansible/ansible/roles/keystone/templates/keystone.conf.j2<br>
> > > > kolla-ansible/ansible/roles/neutron/templates/neutron.conf.j2<br>
> > > > kolla-ansible/ansible/roles/cinder/templates/cinder.conf.j2<br>
> > > > <br>
> > > > or which service need caches<br>
> > > > <br>
> > > > add as below<br>
> > > > <br>
> > > > [cache]<br>
> > > > backend = oslo_cache.memcache_pool<br>
> > > > enabled = True<br>
> > > > memcache_servers = {{ kolla_internal_vip_address }}:{{ memcached_port }}<br>
> > > > memcache_dead_retry = 0.25<br>
> > > > memcache_socket_timeout = 900<br>
> > > > <br>
> > > > <a href="https://review.opendev.org/c/openstack/kolla-ansible/+/849487" rel="noreferrer" target="_blank">https://review.opendev.org/c/openstack/kolla-ansible/+/849487</a><br>
> > > > <br>
> > > > but it is not the end<br>
> > > > <br>
> > > > 2. Cannot launch instance or mapping block device(stuck at this step)<br>
> > > > <br>
> > > > nano kolla-ansible/ansible/roles/rabbitmq/templates/definitions.json.j2<br>
> > > > <br>
> > > > "policies":[<br>
> > > >     {"vhost": "/", "name": "ha-all", "pattern":<br>
> > > > "^(?!(amq\.)|(.*_fanout_)|(reply_)).*", "apply-to": "all", "definition":<br>
> > > > {"ha-mode":"all"}, "priority":0}{% if project_name == 'outward_rabbitmq' %},<br>
> > > >     {"vhost": "{{ murano_agent_rabbitmq_vhost }}", "name": "ha-all",<br>
> > > > "pattern": ".*", "apply-to": "all", "definition": {"ha-mode":"all"},<br>
> > > > "priority":0}<br>
> > > >     {% endif %}<br>
> > > >   ]<br>
> > > > <br>
> > > > nano /etc/kollla/global.conf<br>
> > > > <br>
> > > > [oslo_messaging_rabbit]<br>
> > > > kombu_reconnect_delay=0.5<br>
> > > > <br>
> > > > <br>
> > > > <a href="https://bugs.launchpad.net/oslo.messaging/+bug/1993149" rel="noreferrer" target="_blank">https://bugs.launchpad.net/oslo.messaging/+bug/1993149</a><br>
> > > > <a href="https://docs.openstack.org/large-scale/journey/configure/rabbitmq.html" rel="noreferrer" target="_blank">https://docs.openstack.org/large-scale/journey/configure/rabbitmq.html</a><br>
> > > > <br>
> > > > I used Xena 13.4 and Yoga 14.8.1.<br>
> > > > <br>
> > > > Above bugs are critical, but I see that it was not fixed. I am just an<br>
> > > > operator and I want to share what I encountered for new people who come to<br>
> > > > Openstack<br>
> > > > <br>
> > > > <br>
> > > > Nguyen Huu Khoi<br>
> > > > <br>
> > > > --<br>
> > Michał Nasiadka<br>
> > <a href="mailto:mnasiadka@gmail.com" target="_blank">mnasiadka@gmail.com</a><br>
> > <br>
<br>
</blockquote></div>