- Newest
- Most votes
- Most comments
The issue you're experiencing with not being able to see the created vector index in OpenSearch Serverless, despite the Overview tab showing an index count of 1, could be due to a few reasons:
-
Propagation Delay: OpenSearch Serverless might take some time to distribute systemic changes or updates across all nodes or replicas of an index. This propagation delay can cause the index to appear unavailable or inconsistent across different parts of the system.
-
Eventual Consistency: The OpenSearch Serverless system operates on an eventually consistent model, which means there might be a temporary discrepancy between what's reported in the Overview tab and what's actually accessible in the Indexes tab.
-
Permissions: There's a possibility that your current role or user doesn't have the necessary permissions to view the index details, even if you were able to create it.
To troubleshoot and potentially resolve this issue, you can try the following steps:
-
Wait for a few minutes (around 5-10) after creating the index before attempting to access it. This allows time for the system to fully propagate the changes.
-
Verify that your IAM role or user has the correct permissions to both create and view indexes in OpenSearch Serverless. Ensure you have the necessary data access policies configured for your collection.
-
Try to manually create or access the index using the OpenSearch API or CLI to see if you encounter the same issue.
-
If you're using Bedrock Knowledge Bases, ensure that the service role used has the required permissions to interact with OpenSearch Serverless collections and indexes.
-
Check the CloudWatch logs for any error messages or additional information that might help identify the root cause.
If after trying these steps you still encounter the same error, it's possible that there might be an underlying issue with the AWS backend. In this case, it would be advisable to contact AWS support for further investigation and assistance. They would be able to check for any known issues or bugs that might be affecting the OpenSearch Serverless service in your region or account.
Sources
Resolve Amazon Bedrock knowledge base permission errors | AWS re:Post
Data access control for Amazon OpenSearch Serverless - Amazon OpenSearch Service
We've started seeing the same thing, definitely some sort of bug in OS collection.
Relevant content
- asked a year ago