-
-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for enabled plugins config using enabled_plugins file #777
Merged
EmilienM
merged 2 commits into
voxpupuli:master
from
hjensas:add-support-for-enabled-plugins-config
Feb 14, 2019
Merged
Add support for enabled plugins config using enabled_plugins file #777
EmilienM
merged 2 commits into
voxpupuli:master
from
hjensas:add-support-for-enabled-plugins-config
Feb 14, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hjensas
changed the title
Add support for enabled plugins config
Add support for enabled plugins config using enabled_plugins file
Feb 12, 2019
Enabling the rabbitmq_managemnt interface and installing the rabbitmqadmin client was both controlled by the admin_enable parameter. Adds option enable_management (default: false). When this is set to true, and admin_enable is false the rabbitmq_management plugin is enabled, but the rabbitmqadmin client is not installed. For backward compatiblity the rabbitmq_management plugin is also enabled when admin_enable is set to true. Related voxpupuli#775
hjensas
force-pushed
the
add-support-for-enabled-plugins-config
branch
3 times, most recently
from
February 13, 2019 01:54
583bac3
to
d6c8263
Compare
Adds optional support to configure rabbitmq plugins by writing configuration file (/etc/rabbitmq/enabled_plugins). New parameter $use_config_file_for_plugins (boolean, default: false) Can be used to enable this feature. When enabled it replaces the use of the rabbitmqplugins provider to enable plugins. Fixes voxpupuli#775
hjensas
force-pushed
the
add-support-for-enabled-plugins-config
branch
from
February 13, 2019 01:58
d6c8263
to
2e761f0
Compare
wyardley
approved these changes
Feb 13, 2019
I tested these two patches on a rabbitmq cluster managed by pacemaker and they worked for me:
Set the following hiera keys for the mgmt plugin:
Thanks! |
EmilienM
approved these changes
Feb 14, 2019
rdoproject
pushed a commit
to rdo-packages/puppet-rabbitmq-distgit
that referenced
this pull request
Feb 14, 2019
Pull in changes from: voxpupuli/puppet-rabbitmq#777 This allow us to configure plugins using the config file (/etc/rabbitmq/enabled_plugins) and makes it possible to enable the rabbitmq_management plugin without also downloading and installing rabbitmqadmin. Change-Id: I6c35eec19407d77f96cacd7094580198215adc24 Related-Bug: #1815675
apevec
pushed a commit
to redhat-openstack/rdoinfo
that referenced
this pull request
Feb 18, 2019
Pull in changes from: voxpupuli/puppet-rabbitmq#777 This allow us to configure plugins using the config file (/etc/rabbitmq/enabled_plugins) and makes it possible to enable the rabbitmq_management plugin without also downloading and installing rabbitmqadmin. Change-Id: I3c714c5f1a800b9047533ca1a3f9feab42b575e4 Related-Bug: #1815675
apevec
pushed a commit
to redhat-openstack/rdoinfo
that referenced
this pull request
Feb 18, 2019
Pull in changes from: voxpupuli/puppet-rabbitmq#777 This allow us to configure plugins using the config file (/etc/rabbitmq/enabled_plugins) and makes it possible to enable the rabbitmq_management plugin without also downloading and installing rabbitmqadmin. Change-Id: I579b80b9300cef6249629b905b33404d94c980db Related-Bug: #1815675
openstack-gerrit
pushed a commit
to openstack-archive/tripleo-heat-templates
that referenced
this pull request
Feb 19, 2019
Enable the RabbitMQ managment plugin. RabbitMQ managment will listen on localhost (127.0.0.1) only. NOTE: This depend on this upstream change: voxpupuli/puppet-rabbitmq#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
openstack-gerrit
pushed a commit
to openstack/openstack
that referenced
this pull request
Feb 19, 2019
* Update tripleo-heat-templates from branch 'master' - Merge "Enable rabbitmq_management plugin" - 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: voxpupuli/puppet-rabbitmq#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
openstack-gerrit
pushed a commit
to openstack-archive/tripleo-heat-templates
that referenced
this pull request
Aug 8, 2019
Enable the RabbitMQ managment plugin. RabbitMQ managment will listen on localhost (127.0.0.1) only. NOTE: This depend on this upstream change: voxpupuli/puppet-rabbitmq#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::heartbeat:rabbitmq-cluster): Started controller-0 rabbitmq-bundle-1 (ocf::heartbeat:rabbitmq-cluster): Started controller-1 rabbitmq-bundle-2 (ocf::heartbeat: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 d6727af
openstack-gerrit
pushed a commit
to openstack-archive/tripleo-heat-templates
that referenced
this pull request
Aug 9, 2019
Enable the RabbitMQ managment plugin. RabbitMQ managment will listen on localhost (127.0.0.1) only. NOTE: This depend on this upstream change: voxpupuli/puppet-rabbitmq#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::heartbeat:rabbitmq-cluster): Started controller-0 rabbitmq-bundle-1 (ocf::heartbeat:rabbitmq-cluster): Started controller-1 rabbitmq-bundle-2 (ocf::heartbeat: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 d6727af
cegeka-jenkins
pushed a commit
to cegeka/puppet-rabbitmq
that referenced
this pull request
Mar 26, 2021
…xpupuli#777) * Support enabling rabbitmq_management without rabbitmqadmin Enabling the rabbitmq_managemnt interface and installing the rabbitmqadmin client was both controlled by the admin_enable parameter. Adds option enable_management (default: false). When this is set to true, and admin_enable is false the rabbitmq_management plugin is enabled, but the rabbitmqadmin client is not installed. For backward compatiblity the rabbitmq_management plugin is also enabled when admin_enable is set to true. Related voxpupuli#775 * Support configuring plugins using enabled_plugins file Adds optional support to configure rabbitmq plugins by writing configuration file (/etc/rabbitmq/enabled_plugins). New parameter $use_config_file_for_plugins (boolean, default: false) Can be used to enable this feature. When enabled it replaces the use of the rabbitmqplugins provider to enable plugins. Fixes voxpupuli#775
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request (PR) description
Support configuring plugins using enabled_plugins file
Adds optional support to configure rabbitmq plugins by
writing configuration file (/etc/rabbitmq/enabled_plugins).
New parameter $use_config_file_for_plugins (boolean, default:
false) Can be used to enable this feature. When enabled it
replaces the use of the rabbitmqplugins provider to enable
plugins.
This Pull Request (PR) fixes the following issues
Fixes #775