Skip to content

OpenSearch domain stuck at 20% during update — cannot cancel or access data

0

Hi,

I'm experiencing an issue with an Amazon OpenSearch managed domain that is stuck at 20% during a configuration update. Specifically, the domain is stuck in the “Creating a new environment” phase after enabling Cognito authentication.

  • Region: eu-central-1 (Frankfurt)
  • OpenSearch version: 7.10
  • Support plan: Basic (cannot open technical support case)

The AWS Console has been stuck at 20% for several hours with no logs available (CloudWatch logging was not enabled). The update status says:

"Processing updates – Creating a new environment: Preparing resources."

We cannot delete the domain, as it contains development data that we must preserve. Attempts to interact with the domain endpoint via curl or the AWS CLI fail, and no further updates can be made until this is complete.

Questions:

  1. Will AWS eventually time out and revert the domain update on its own? If so, how long does this typically take?
  2. Is there any way to recover read access or snapshot the data while the domain is in this stuck state?
  3. Can AWS Support intervene even if we’re on the Basic Support plan, given this is a service-level failure?

Any guidance or advice would be appreciated.

Thanks!

1 Answer
0

I understand you are in a challenging situation with your OpenSearch domain being stuck during a Cognito authentication update. Let me help you with some possible solutions and answer your questions:

First, for immediate action, I recommend:

  1. Taking a manual snapshot of your domain (if you can access the API): aws opensearch create-snapshot-repository --domain-name your-domain-name --repository-name my-snapshot-repo --type s3 --settings '{...}'

  2. Try accessing your domain through the AWS CLI to check its actual status: aws opensearch describe-domain --domain-name your-domain-name

  3. Monitor your domain's health metrics in CloudWatch (even without detailed logging)

Regarding your specific questions:

1.About timeouts and auto-reversion:

  • AWS does have internal timeout mechanisms for failed operations
  • Typically takes 4-6 hours for the system to recognize a failed update
  • However, in some cases, it can take up to 24 hours
  • The system won't automatically revert - it will either eventually complete or fail

2.Data Recovery Options:

  • Try accessing through AWS SDK if CLI access fails
  • Check if auto-snapshots were enabled (they run daily by default)
  • If you have any recent snapshots, note their location for potential recovery
  • Even in stuck state, sometimes the _snapshot API endpoint remains responsive
  1. Support Options with Basic Plan:

  • Post in AWS re:Post (as you've done)
  • Check AWS Health Dashboard for any service issues
  • Submit a service limit increase request - this can get AWS team attention
  • Include "service-level failure" in your description
  • Document business impact and data criticality

Some additional recommendations: -Enable CloudWatch logging once you regain access to prevent similar diagnostic issues in the future.

-Consider implementing these best practices:

  1. Regular automated snapshots
  2. Cross-region backup strategy
  3. Pre-update snapshots

Reference Documentation: OpenSearch Snapshots

Troubleshooting Domain Issues

AWS

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.