내용으로 건너뛰기

Amazon opensearch service keeps getting timed our after upgrade.

0

We upgraded opensearch service from 2.5 to 2.19. Now, I get issues most of the time -- sometimes 504 whereas sometimes 502.

<html> <head><title>504 Gateway Time-out</title></head> <body> <center><h1>504 Gateway Time-out</h1></center> </body> </html>

질문됨 일 년 전260회 조회

1개 답변
0

When your Amazon OpenSearch Service domain is experiencing timeouts after an upgrade, this could be related to several issues that commonly occur during or after configuration changes.

First, check if your domain is still in the "Processing" or "Modifying" state. After an upgrade, OpenSearch Service performs a blue/green deployment, creating a new environment and routing traffic to it. During this process, you might experience performance issues including increased latency and request rejections.

If your domain appears stuck in the processing state, you should:

  1. Monitor CloudWatch metrics to identify potential performance bottlenecks
  2. Check for any validation errors that might have occurred during the upgrade
  3. Verify your configuration settings to ensure they're appropriate for your workload
  4. Review logs for any specific errors related to the timeout issues

In some cases, domains can get stuck in the "Processing" or "Modifying" state. If this persists for an extended period, you may need to create a technical support case with AWS, especially if your data is important and you cannot recreate the cluster.

Some users have resolved similar issues by creating a new OpenSearch instance and migrating their data. However, this should be considered as a last resort if other troubleshooting steps fail.

If the 504 Gateway Timeout errors persist even after the domain shows as active, you might need to review your instance types and cluster configuration to ensure they can handle your workload after the upgrade.
Sources
Amazon OpenSearch Service Stuck at Modifying | AWS re:Post
AOSOPS04-BP01 Train staff on common OpenSearch issues and how to remediate them - Amazon OpenSearch Service Lens
OpenSearch Configuration Change Stuck at 20% and 503 Error Responses | AWS re:Post
Making configuration changes in Amazon OpenSearch Service - Amazon OpenSearch Service

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.