<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>No, it isn't. It raised when i use default settings on my client base on "olso_messaging". And when i create the config file and use "oslo_config" passed to tranport (get_notification_transport), it work :D</div><div dir="ltr"><br></div><div>Thank for your help.</div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px;font-weight:bold"><font color="#000000"><b><span style="line-height:14.95px;font-size:small">Nguyễn Bá Thành</span></b><br></font></div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px"><p style="font-weight:bold;margin-top:3pt;margin-right:0cm;margin-bottom:3pt"><font color="#000000"><b><span style="font-size:9pt;line-height:13.8px">Mobile</span></b><span style="font-weight:normal;font-size:9pt;line-height:13.8px"><span style="font-weight:bold">:    0128 748 0391</span></span><br></font></p><p style="margin-top:3pt;margin-right:0cm;margin-bottom:3pt"><font color="#000000"><b><span style="font-size:9pt;line-height:13.8px">Email</span></b><span style="font-size:9pt;line-height:13.8px"><span style="font-weight:bold">:      <a href="mailto:bathanhtlu@gmail.com" target="_blank">bathanhtlu@gmail.com</a></span></span></font></p></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Vào Th 5, 3 thg 1, 2019 vào lúc 00:30 Doug Hellmann <<a href="mailto:doug@doughellmann.com">doug@doughellmann.com</a>> đã viết:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ben Nemec <<a href="mailto:openstack@nemebean.com" target="_blank">openstack@nemebean.com</a>> writes:<br>
<br>
> On 12/27/18 8:22 PM, Thành Nguyễn Bá wrote:<br>
>> Dear all,<br>
>> <br>
>> I have a problem when use 'notification listener' oslo-message for HA <br>
>> Openstack.<br>
>> <br>
>> It raise 'oslo_messaging.exceptions.MessageDeliveryFailure: Unable to <br>
>> connect to AMQP server on <a href="http://172.16.4.125:5672" rel="noreferrer" target="_blank">172.16.4.125:5672</a> <br>
>> <<a href="http://172.16.4.125:5672/" rel="noreferrer" target="_blank">http://172.16.4.125:5672/</a>> after inf tries: Exchange.declare: (406) <br>
>> PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'nova' in <br>
>> vhost '/': received 'false' but current is 'true''.<br>
>> <br>
>> How can i fix this?. I think settings default in my program set <br>
>> 'durable' is False so it can't listen RabbitMQ Openstack?<br>
><br>
> It probably depends on which rabbit client library you're using to <br>
> listen for notifications. Presumably there should be some way to <br>
> configure it to set durable to True.<br>
<br>
IIRC, the "exchange" needs to be declared consistently among all<br>
listeners because the first client to connect causes the exchange to be<br>
created.<br>
<br>
> I guess the other option is to disable durable queues in the Nova <br>
> config, but then you lose the contents of any queues when Rabbit gets <br>
> restarted. It would be better to figure out how to make the consuming <br>
> application configure durable queues instead.<br>
><br>
>> <br>
>> This is my nova.conf<br>
>> <br>
>>     <a href="http://paste.openstack.org/show/738813/" rel="noreferrer" target="_blank">http://paste.openstack.org/show/738813/</a><br>
>> <br>
>> <br>
>> And section [oslo_messaging_rabbit]<br>
>> <br>
>>     [oslo_messaging_rabbit]<br>
>>     rabbit_ha_queues = true<br>
>>     rabbit_retry_interval = 1<br>
>>     rabbit_retry_backoff = 2<br>
>>     amqp_durable_queues= true<br>
<br>
You say that is your nova.conf.  Is that the same configuration file<br>
your client is using when it connects?<br>
<br>
>> <br>
>> <br>
>> <br>
>> *Nguyễn Bá Thành*<br>
>> <br>
>> *Mobile*:    0128 748 0391<br>
>> <br>
>> *Email*: <a href="mailto:bathanhtlu@gmail.com" target="_blank">bathanhtlu@gmail.com</a> <mailto:<a href="mailto:bathanhtlu@gmail.com" target="_blank">bathanhtlu@gmail.com</a>><br>
>> <br>
><br>
<br>
-- <br>
Doug<br>
</blockquote></div>