On 15 February 2012 17:01, Ashish <[email protected]> wrote: > Greeting, > > Couple of queries around Error handling. I encountered these issues > while trying Spot instances on EC2 > > 1. In case of Spot instances, if AWS returns an error > org.jclouds.aws.AWSResponseException: request POST > https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 failed with code 400, > error: AWSError{requestId='8c4eb52d-d685-499c-8ef9-a999244bb019', > requestToken='null', code='InternalError', message='An internal error > has occurred', context='{Response=, Errors=}'} > > So what would happen in this case? Will the cluster setup be aborted, > begin the clean-up or will it retry to boot the instance? > > In the logs, even after the failure, I see the setup steps running and > later the cluster is being pulled down. Is it normal or there are > catches to it? >
In my experiences with whirr 0.7.0 it retries three times before giving up booting an instance. If you encounter these errors too often a given day simple change region or check for aws system health: it can happen that they issue a report saying they've noticed a rise in these spot request error and they're on it. MD
