Allow to disable the rabbitmq management plugin
There is a bug in the rabbitmq-server setup for Queens that may cause the cluster to lock up and stop responding[0]. The workaround for this issue is to disable the management plugin, so add an option that allows us to deploy this workaround. [0] https://bugs.launchpad.net/bugs/1783203 Change-Id: I1d0e6c5fb8eeb35e4e966ef102e46c45c357a1ca
This commit is contained in:
parent
300bb041f2
commit
a37377329f
@ -29,3 +29,6 @@ default['openstack']['mq']['search_for_cluster_disk_nodes'] = true
|
||||
if platform_family?('debian', 'suse')
|
||||
override['rabbitmq']['use_distro_version'] = true
|
||||
end
|
||||
|
||||
# Enable the rabbitmq management plugin by default
|
||||
default['openstack']['mq']['rabbitmq']['enable_mgmt_console'] = true
|
||||
|
@ -60,7 +60,13 @@ if node['openstack']['mq']['cluster']
|
||||
end
|
||||
|
||||
include_recipe 'rabbitmq'
|
||||
include_recipe 'rabbitmq::mgmt_console'
|
||||
if node['openstack']['mq']['rabbitmq']['enable_mgmt_console']
|
||||
include_recipe 'rabbitmq::mgmt_console'
|
||||
else
|
||||
rabbitmq_plugin 'rabbitmq_management' do
|
||||
action :disable
|
||||
end
|
||||
end
|
||||
|
||||
rabbitmq_user 'add openstack rabbit user' do
|
||||
user user
|
||||
|
Loading…
Reference in New Issue
Block a user