thanks Jeffrey
On 05/05/2018 03:03 AM, Jeffrey Zhang wrote:
Hi vladispay,
I guess you are talking rabbit_ha_queues options. It is already marked
as deprecated[0].
cfg.BoolOpt('rabbit_ha_queues',
default=False,
deprecated_group='DEFAULT',
help='Try to use HA queues in RabbitMQ (x-ha-policy:
all). '
'If you change this option, you must wipe the RabbitMQ '
'database. In RabbitMQ 3.0, queue mirroring is no longer '
'controlled by the x-ha-policy argument when declaring a '
'queue. If you just want to make sure that all queues
(except '
'those with auto-generated names) are mirrored across
all '
'nodes, run: '
"""\"rabbitmqctl set_policy HA '^(?!amq\.).*' """
"""'{"ha-mode": "all"}' \""""),
In kolla, we configure a global ha-mode policy through its
definition.json file in rabbitmq, please check[1]
[0]
https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L165-L176
<https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L165-L176>
[1]
https://github.com/openstack/kolla-ansible/blob/d2d9c6622888416ad2e748706fd237f8588e993a/ansible/roles/rabbitmq/templates/definitions.json.j2#L20
<https://github.com/openstack/kolla-ansible/blob/d2d9c6622888416ad2e748706fd237f8588e993a/ansible/roles/rabbitmq/templates/definitions.json.j2#L20>
On Sat, May 5, 2018 at 12:58 AM, <[email protected]
<mailto:[email protected]>> wrote:
Hi,
is there a reason we don't configure services for rabbitmq ha
queues like it is suggested in [0] ?
Rabbitmq itself has ha policy 'on' via one of its templates.
Thanks,
Vladislav Belogrudov
[0]
https://docs.openstack.org/ha-guide/shared-messaging.html#rabbitmq-services
<https://docs.openstack.org/ha-guide/shared-messaging.html#rabbitmq-services>
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe:
[email protected]?subject:unsubscribe
<http://[email protected]?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
--
Regards,
Jeffrey Zhang
Blog: http://xcodest.me <http://xcodest.me/>
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev