- Newest
- Most votes
- Most comments
When an OpenSearch Service domain enters the "Processing" state, it means it's in the middle of a configuration change. During this process, OpenSearch Service creates a new environment and launches new nodes before migrating data. Unfortunately, domains can get stuck in this state for several reasons, including:
- Failure of new data nodes to launch
- Unsuccessful shard migration to the new nodes
- Failed validation checks
In your case, the domain has been stuck for days and you're unable to cancel the configuration change because the cancel-domain-config-change command only works when the domain's status is in "ValidationFailed" state, not "Processing".
Since your domain is completely unavailable (returning 502 Bad Gateway errors) and you're unable to perform any operations on it, you have limited options:
-
If you're on the Basic Support plan, you may need to consider creating a new OpenSearch domain and restoring your data from the most recent automated snapshot if available.
-
Some users in similar situations have resolved the issue by creating a new OpenSearch instance and then deleting the stuck one.
-
For a more direct intervention to force-cancel the stuck configuration change, you would typically need to contact AWS Support, which might require upgrading your support plan.
The issue you're experiencing is unfortunately not uncommon, and while there are troubleshooting steps for domains in "Processing" state, when the domain is completely inaccessible and the configuration change cannot be cancelled through normal means, creating a new domain might be the most expedient solution.
Sources
Troubleshooting Amazon OpenSearch Service - Amazon OpenSearch Service
How to cancel stuck OpenSearch domain configuration change that cannot be cancelled normally | AWS re:Post
OpenSearch Configuration Change Stuck at 20% and 503 Error Responses | AWS re:Post
answered a year ago
Relevant content
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago
