-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Description
Describe the bug
As per documentation, in order to upgrade a cluster one needs to upgrade the plugins first, so that during the rolling restart the nodes pick up the new upgraded plugin version.
In a cluster that has workload-management plugin installed, the upgrade procedure (i.e., remove and install) does not work, because:
./bin/opensearch-plugin remove workload-management
ERROR: plugin [workload-management] cannot be removed because it is extended by other plugins: [opensearch-security]Should this safety check be dropped so that the upgrade procedure is unblocked?
As workaround, one can manually move/delete the plugin folder (typically at /usr/share/opensearch/plugins/workload-management).
Related component
Plugins
To Reproduce
- Bootstrap a cluster on any version
- Install
workload-managementplugin (./bin/opensearch-plugin install workload-management) - Try to remove it with
./bin/opensearch-plugin remove workload-management
Expected behavior
./bin/opensearch-plugin remove workload-management should be allowed and not blocked by
ERROR: plugin [workload-management] cannot be removed because it is extended by other plugins: [opensearch-security]
Additional Details
Plugins
all bundled ones + workload-management
Host/Environment (please complete the following information):
- OS: AlmaLinux
- Version 9.7
Reactions are currently unavailable