[BUG] WLM: Breaking schema change of search_settings to settings causes upgrade failure from 3.6.0 to 3.7.0
Describe the bug
During a rolling upgrade from OpenSearch 3.6.0 to 3.7.0, nodes fail to join the cluster due to a StartupException in the Workload Management (WLM) plugin. It appears that search_settings has been renamed to settings in version 3.7.0, and the bootstrap process fails when it encounters the old schema in the existing metadata.
Related component
Plugins
To Reproduce
- Have an existing OpenSearch 3.6.0 cluster with workload_management plugin configured and at least one workload_group defined.
- Attempt to perform a rolling upgrade to OpenSearch 3.7.0.
- Observe the new node failing to start.
Logs/Errors
org.opensearch.bootstrap.StartupException: java.lang.IllegalArgumentException: search_settings is not a valid object in WorkloadGroupExpected behavior
The WLM plugin should either automatically migrate the search_settings to settings during the node bootstrap, or ignore the deprecated field to allow the node to join the cluster.
Additional Details
Plugins
lemapper mapper-murmur3 3.6.0
lemapper mapper-size 3.6.0
lemapper opensearch-alerting 3.6.0.0
lemapper opensearch-anomaly-detection 3.6.0.0
lemapper opensearch-asynchronous-search 3.6.0.0
lemapper opensearch-cross-cluster-replication 3.6.0.0
lemapper opensearch-custom-codecs 3.6.0.0
lemapper opensearch-flow-framework 3.6.0.0
lemapper opensearch-geospatial 3.6.0.0
lemapper opensearch-index-management 3.6.0.0
lemapper opensearch-job-scheduler 3.6.0.0
lemapper opensearch-knn 3.6.0.0
lemapper opensearch-ltr 3.6.0.0
lemapper opensearch-ml 3.6.0.0
lemapper opensearch-neural-search 3.6.0.0
lemapper opensearch-notifications 3.6.0.0
lemapper opensearch-notifications-core 3.6.0.0
lemapper opensearch-observability 3.6.0.0
lemapper opensearch-performance-analyzer 3.6.0.0
lemapper opensearch-reports-scheduler 3.6.0.0
lemapper opensearch-search-relevance 3.6.0.0
lemapper opensearch-security 3.6.0.0
lemapper opensearch-security-analytics 3.6.0.0
lemapper opensearch-skills 3.6.0.0
lemapper opensearch-sql 3.6.0.0
lemapper opensearch-system-templates 3.6.0.0
lemapper opensearch-ubi 3.6.0.0
lemapper query-insights 3.6.0.0
lemapper repository-s3 3.6.0
lemapper workload-management 3.6.0Host/Environment (please complete the following information):
Linux mtzhlfoha13 4.18.0-553.148.1.el8_10.x86_64 #1 SMP Sun Jul 26 20:57:52 EDT 2026 x86_64 x86_64 x86_64 GNU/Linux- Red Hat Enterprise Linux release 8.10 (Ootpa)
- OpenSearch 3.6.0
Additional context
GET /_wlm/workload_group
{
"workload_groups": [
{
"_id": "hCgpq2RvTDGOfnQNPMMo1w",
"name": "premium",
"resiliency_mode": "enforced",
"resource_limits": {
"cpu": 0.4,
"memory": 0.4
},
"search_settings": {},
"updated_at": 1776163237498
},
{
"_id": "9f78lWCjRoi_7HtLqCudcw",
"name": "basic",
"resiliency_mode": "soft",
"resource_limits": {
"cpu": 0.1,
"memory": 0.1
},
"search_settings": {},
"updated_at": 1776154611082
},
{
"_id": "OYE97MZYR1yibH55fZugMg",
"name": "plus",
"resiliency_mode": "soft",
"resource_limits": {
"cpu": 0.2,
"memory": 0.2
},
"search_settings": {},
"updated_at": 1777990967944
}
]
}The node fails to join the cluster during the upgrade. Attempts to mitigate this by deleting the problematic workload_group via the REST API (even while on the 3.6.0 version) result in an action_not_found_transport_exception:
DELETE /_wlm/workload_group/plus
{
"error": {
"root_cause": [
{
"type": "action_not_found_transport_exception",
"reason": "No handler for action [cluster:admin/opensearch/wlm/workload_group/_delete]"
}
],
"type": "action_not_found_transport_exception",
"reason": "No handler for action [cluster:admin/opensearch/wlm/workload_group/_delete]"
},
"status": 500
}Source: opensearch-project/OpenSearch