-
Couldn't load subscription status.
- Fork 130
Description
Describe the bug
This is not strictly a bug, but something we followed to onboard to opensearch, refer to opensearch-project/job-scheduler#20.
As stated above we deprecated old setting namespace opendistro and use plugins now in IndexManagement.
However, the issue is in a mixed cluster the new settings are not settable/updatable.
We noticed this in a 2 opendistro nodes node-1 and node-2, one OpenSearch node node-3 cluster
As part of IndexManagement plugin users can create rollup jobs. As part of rollup job run we create new rollup index if not present and set a index setting on top of the rolled up index during the first job run.
However, in mixed cluster setting if the job is run on OpenSearch node then the job fails as the os node will attempt to use the updated setting string "plugins" instead of "opendistro", this new index setting is not recognized and receiving an illegal_argument_exception. This prevents creating of new rollup indices on new nodes. The user will have to wait till the cluster is not mixed
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"unknown setting [index.plugins.rollup_index] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"}],"type":"illegal_argument_exception","reason":"unknown setting [index.plugins.rollup_index] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"},"status":400}
Manually tried to set any new settings (cluster/index) on a mixed cluster and seeing the same error. From observed behavior it seems that only settings allowed in a mixed cluster are old settings.
Expected behavior
New settings can be set and work during mixed cluster
Host/Environment (please complete the following information):
- OS: Linux
- Version 1.0.0