sigdba / sig-shared-sceptre

Shared templates for Sceptre/CloudFormation
2 stars 0 forks source link

RootVolumeProperties fails at first on new server #85

Open dboitnot opened 1 year ago

dboitnot commented 1 year ago

When updating the root volume size on a new server, the RootVolumeProperties lambda gets errors from the AWS API:

setting size on volume vol-0adaa48529089d517 : 60
ClientError: An error occurred (Unavailable) when calling the ModifyVolume operation (reached max retries: 4): The service is unavailable. Please try again shortly.

This doesn't seem to correspond with an invalid state of the EBS volume which shows and ready and available in the console. Perhaps there's a minimum time required after creation before the size can be adjusted? Recent work suggests that waiting five minutes might avoid the error.