04b83ec504
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.
NB: Cherry-pick was not clean so I tested this manually on queens
and got the expected result:
~]# pcs status |grep -e 'rabbitmq.*Started'
rabbitmq-bundle-0 (ocf:💓rabbitmq-cluster): Started controller-0
rabbitmq-bundle-1 (ocf:💓rabbitmq-cluster): Started controller-1
rabbitmq-bundle-2 (ocf:💓rabbitmq-cluster): Started controller-2
~]# curl -sS -u guest:$(hiera -c /etc/puppet/hiera.yaml rabbitmq::default_pass) http://127.0.0.1:15672/api/queues/ 2> /dev/null |jq . |head -n5
[
{
"memory": 10936,
"idle_since": "2019-08-08 8:49:23",
"consumer_utilisation": null,
Related-Bug: #1815675
Change-Id: I5e73660e23fef15d1cae4c89d8b45b2456b0a110
(cherry-picked from commit
|
||
---|---|---|
.. | ||
extraconfig | ||
manifests | ||
services | ||
all-nodes-config.j2.yaml | ||
deploy-artifacts.sh | ||
deploy-artifacts.yaml | ||
role.role.j2.yaml |