Ask Your Question

Rabbitmq durable messaging.

asked 2019-12-11 01:56:14 -0600

amkgi gravatar image

I have problems with rabbitmq cluster. Some OpenStack's modules won't start. In log I can see this message:

2019-12-11 09:50:32.327 8065 ERROR oslo_service.service [req-2606a248-3012-448b-b6f1-02add3cb2fb6 - - - - -] Error starting thread.: oslo_messaging.exceptions.MessageDeliveryFailure: Unable to connect to AMQP server on node2:5672 after None tries: Exchange.declare: (406) PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'neutron' in vhost '/': received 'true' but current is 'false'

In all config:

transport_url = rabbit://openstack:password@node1,openstack:password@node2,openstack:password@node3

amqp_durable_queues = true
rabbit_retry_interval = 1
rabbit_retry_backoff = 2
rabbit_ha_queues = true

Rabbit cluster:

node1:~# rabbitmqctl cluster_status
Cluster status of node rabbit@adm826607 ...

Rabbit policies:

node1:~# rabbitmqctl list_policies
Listing policies for vhost "/" ...
/       HA      ^(?!amq\.).*    all     {"ha-mode":"all"}       0

What's wrong? Please, help me. I can't fix this. Googling doesn't give a result.

I use Debian Buster and OpenStack Rocky from debian repos.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-12-15 05:53:17 -0600

Mohit gravatar image

It looks like the issue with the queue on rabbitmq cluster , Have you tried to clean up the queueing system?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-12-11 01:56:14 -0600

Seen: 126 times

Last updated: Dec 15 '19