diff --git a/deployment/rabbitmq/rabbitmq-container-puppet.yaml b/deployment/rabbitmq/rabbitmq-container-puppet.yaml index 13628c12da..17deda465c 100644 --- a/deployment/rabbitmq/rabbitmq-container-puppet.yaml +++ b/deployment/rabbitmq/rabbitmq-container-puppet.yaml @@ -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 diff --git a/deployment/rabbitmq/rabbitmq-messaging-notify-container-puppet.yaml b/deployment/rabbitmq/rabbitmq-messaging-notify-container-puppet.yaml index 0c2e0cf849..f9e4b94eab 100644 --- a/deployment/rabbitmq/rabbitmq-messaging-notify-container-puppet.yaml +++ b/deployment/rabbitmq/rabbitmq-messaging-notify-container-puppet.yaml @@ -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 diff --git a/deployment/rabbitmq/rabbitmq-messaging-rpc-container-puppet.yaml b/deployment/rabbitmq/rabbitmq-messaging-rpc-container-puppet.yaml index dd76e7a8ff..a457935bd9 100644 --- a/deployment/rabbitmq/rabbitmq-messaging-rpc-container-puppet.yaml +++ b/deployment/rabbitmq/rabbitmq-messaging-rpc-container-puppet.yaml @@ -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 diff --git a/releasenotes/notes/rabbitmq-enable-management-plugin-94b27747e4f5e685.yaml b/releasenotes/notes/rabbitmq-enable-management-plugin-94b27747e4f5e685.yaml new file mode 100644 index 0000000000..eb73e5e88e --- /dev/null +++ b/releasenotes/notes/rabbitmq-enable-management-plugin-94b27747e4f5e685.yaml @@ -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.