Environment
- Yugabyte Platform - Deployed on AWS
Issue
If the universe on AWS is deployed using the IAM role, while resizing the universe, it fails with the below error:
botocore.exceptions.ClientError: An error occurred (UnauthorizedOperation) when calling the DescribeInstanceTypes operation: You are not authorized to perform this operation..
Cause
We get this issue because the IAM role doesn't have the DescribeInstanceTypes policy attached.
Resolution
Overview
While resizing the universe, Yugabyte Anywhere describes the AWS instances which require the DescribeInstanceTypes policy attached to the IAM role. More information about this policy is available on this AWS documentation
Steps
- Attach DescribeInstanceTypes policy to the IAM role
NOTE: If there are any new instances/nodes added to the universe when resizing failed and if they are in the unreachable state, we can remove and delete those nodes using Yugabyte Anywhere.
- Once the policy is attached to the IAM role, We can try resizing the universe again.
Comments
0 comments
Please sign in to leave a comment.