Enable rabbitmq_management plugin
Enable the RabbitMQ managment plugin. RabbitMQ managment will listen on localhost (127.0.0.1) only. NOTE: This depend on this upstream change: https://github.com/voxpupuli/puppet-rabbitmq/pull/777 Also to optimize for performance: - Disables message rates in the management plugin. - Raises the collect_statistics_interval from 5000ms to 30000ms. Related-Bug: #1815675 Change-Id: I5e73660e23fef15d1cae4c89d8b45b2456b0a110
This commit is contained in:
parent
1c46d1850a
commit
d6727aff73
@ -178,6 +178,7 @@ outputs:
|
||||
# TODO(jaosorior): Remove this once we set a proper default in
|
||||
# puppet-tripleo
|
||||
tripleo::profile::base::rabbitmq::enable_internal_tls: {get_param: EnableInternalTLS}
|
||||
rabbitmq::collect_statistics_interval: 30000
|
||||
-
|
||||
if:
|
||||
- internal_tls_enabled
|
||||
@ -199,6 +200,11 @@ outputs:
|
||||
postsave_cmd: "/usr/bin/certmonger-rabbitmq-refresh.sh"
|
||||
- {}
|
||||
- rabbitmq::admin_enable: false
|
||||
rabbitmq::management_enable: true
|
||||
rabbitmq::use_config_file_for_plugins: true
|
||||
rabbitmq::management_ip_address: 127.0.0.1
|
||||
rabbitmq::config_management_variables:
|
||||
rates_mode: none
|
||||
- if:
|
||||
- internal_tls_enabled
|
||||
- tripleo::certmonger::rabbitmq::postsave_cmd: "true" # TODO: restart the rabbitmq container here
|
||||
|
@ -128,7 +128,13 @@ outputs:
|
||||
params:
|
||||
$NETWORK: {get_param: [ServiceNetMap, OsloMessagingNotifyNetwork]}
|
||||
tripleo::profile::base::rabbitmq::enable_internal_tls: {get_param: EnableInternalTLS}
|
||||
rabbitmq::collect_statistics_interval: 30000
|
||||
rabbitmq::admin_enable: false
|
||||
rabbitmq::management_enable: true
|
||||
rabbitmq::use_config_file_for_plugins: true
|
||||
rabbitmq::management_ip_address: 127.0.0.1
|
||||
rabbitmq::config_management_variables:
|
||||
rates_mode: none
|
||||
-
|
||||
if:
|
||||
- internal_tls_enabled
|
||||
|
@ -128,7 +128,13 @@ outputs:
|
||||
params:
|
||||
$NETWORK: {get_param: [ServiceNetMap, OsloMessagingRpcNetwork]}
|
||||
tripleo::profile::base::rabbitmq::enable_internal_tls: {get_param: EnableInternalTLS}
|
||||
rabbitmq::collect_statistics_interval: 30000
|
||||
rabbitmq::admin_enable: false
|
||||
rabbitmq::management_enable: true
|
||||
rabbitmq::use_config_file_for_plugins: true
|
||||
rabbitmq::management_ip_address: 127.0.0.1
|
||||
rabbitmq::config_management_variables:
|
||||
rates_mode: none
|
||||
-
|
||||
if:
|
||||
- internal_tls_enabled
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The RabbitMQ management plugin (``rabbitmq_management``) is now enabled.
|
||||
By default RabbitMQ managment is available on port 15672 on the localhost
|
||||
(``127.0.0.1``) interface.
|
Loading…
Reference in New Issue
Block a user