Skip to content

rabbitmq-plugins: tolerate plugins enabled but not installed - #16896

Merged
michaelklishin merged 2 commits into
mainfrom
rabbitmq-plugins-tolerate-missing-enabled-plugins
Jul 9, 2026
Merged

michaelklishin merged 2 commits into
mainfrom
rabbitmq-plugins-tolerate-missing-enabled-plugins

Conversation

@shashank-singh-2999

Copy link
Copy Markdown
Contributor

enable/disable fail today if enabled_plugins contains a plugin that isn't installed (e.g. a discontinued plugin left over from before an upgrade), because both commands carry the existing enabled list, including the stale name, into the new list they write, and the write is rejected wholesale with {:plugins_not_found, [...]}. The only way out was editing the file by hand.
Not specific to one plugin, see :- rabbitmq/rabbitmq-delayed-message-exchange#119

enable/disable now keep such names in the file, warn about them the same way list already does, and proceed with the rest of the operation instead of failing. set is unchanged and still rejects unknown names, since it replaces the whole list explicitly.

@shashank-singh-2999
shashank-singh-2999 requested review from dumbbell, michaelklishin and mkuratczyk and removed request for michaelklishin July 8, 2026 10:01
@mergify

mergify Bot commented Jul 8, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@shashank-singh-2999
shashank-singh-2999 requested a review from ansd July 8, 2026 10:01
@michaelklishin michaelklishin added this to the 4.4.0 milestone Jul 9, 2026
@michaelklishin
michaelklishin merged commit 0e5b048 into main Jul 9, 2026
2 checks passed
@michaelklishin
michaelklishin deleted the rabbitmq-plugins-tolerate-missing-enabled-plugins branch July 9, 2026 00:31
michaelklishin added a commit that referenced this pull request Jul 9, 2026
rabbitmq-plugins: tolerate plugins enabled but not installed (backport #16896)
michaelklishin added a commit that referenced this pull request Jul 9, 2026
michaelklishin added a commit that referenced this pull request Jul 9, 2026
rabbitmq-plugins: tolerate plugins enabled but not installed (backport #16896) (backport #16901)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants