Disable HA for RPC queues by default
RPC wihout HA was tested on a big scale and we found that it greatly reduces load OpenStack puts on RabbitMQ. Hence it is valuable to disable it by default. DocImpact It should be noted in the release notes that starting from 8.0 queue mirroring is disabled by default for RPC queues, but it is still enabled for Ceilometer ones. Also, the change should be reflected in our reference architecture guide. Specifically, there is a sentence here starting with "RabbitMQ provides active/active high availability ...", which will be incorrect after the given change is merged. Users are still provided with means to enable mirroring. Details could be found in description of that commit: https://review.openstack.org/#/c/249180/ Closes-Bug: #1550303 Change-Id: Iffa4173c2e6bb54e411defc7bdc44254669be5fd
This commit is contained in:
parent
0fbb1c7374
commit
37daf71031
|
@ -51,7 +51,7 @@ if $queue_provider == 'rabbitmq' {
|
|||
$rabbitmq_bind_ip_address = pick(get_network_role_property('mgmt/messaging', 'ipaddr'), 'UNSET')
|
||||
$management_bind_ip_address = hiera('management_bind_ip_address', '127.0.0.1')
|
||||
$management_port = hiera('rabbit_management_port', '15672')
|
||||
$enable_rpc_ha = hiera('enable_rpc_ha', 'true')
|
||||
$enable_rpc_ha = hiera('enable_rpc_ha', 'false')
|
||||
$enable_notifications_ha = hiera('enable_notifications_ha', 'true')
|
||||
$fqdn_prefix = hiera('node_name_prefix_for_messaging', 'messaging-')
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ class pacemaker_wrappers::rabbitmq (
|
|||
$erlang_cookie = 'EOKOWXQREETZSHFNTPEY',
|
||||
$admin_user = undef,
|
||||
$admin_pass = undef,
|
||||
$enable_rpc_ha = true,
|
||||
$enable_rpc_ha = false,
|
||||
$enable_notifications_ha = true,
|
||||
$fqdn_prefix = '',
|
||||
$pid_file = undef,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
OCF_RESKEY_enable_rpc_ha_default=true
|
||||
OCF_RESKEY_enable_rpc_ha_default=false
|
||||
: ${OCF_RESKEY_enable_rpc_ha=${OCF_RESKEY_enable_rpc_ha_default}}
|
||||
|
||||
OCF_RESKEY_enable_notifications_ha_default=true
|
||||
|
|
|
@ -55,7 +55,7 @@ describe manifest do
|
|||
enabled = rabbit_hash.fetch('enabled', true)
|
||||
management_bind_ip_address = Noop.hiera('management_bind_ip_address', '127.0.0.1')
|
||||
management_port = Noop.hiera('rabbit_management_port', '15672')
|
||||
enable_rpc_ha = Noop.hiera('enable_rpc_ha', 'true')
|
||||
enable_rpc_ha = Noop.hiera('enable_rpc_ha', 'false')
|
||||
enable_notifications_ha = Noop.hiera('enable_notifications_ha', 'true')
|
||||
fqdn_prefix = Noop.hiera('node_name_prefix_for_messaging', 'messaging-')
|
||||
|
||||
|
|
Loading…
Reference in New Issue