Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't handle PriorRequestNotComplete response #34

Open
phemmer opened this issue Dec 6, 2013 · 0 comments
Open

Doesn't handle PriorRequestNotComplete response #34

phemmer opened this issue Dec 6, 2013 · 0 comments
Labels

Comments

@phemmer
Copy link

phemmer commented Dec 6, 2013

When multiple records are updated by different processes at almost the same time, AWS can respond with a PriorRequestNotComplete error message. This condition doesn't appear to be handled and instead dumps out a nice error

ERROR: Amazon returned an error for the request.
ERROR: RAW_XML: <?xml version="1.0"?>
<ErrorResponse xmlns="https://route53.amazonaws.com/doc/2011-05-05/"><Error><Type>Sender</Type><Code>PriorRequestNotComplete</Code><Message>The request was rejected because Route 53 was still processing a prior request.</Message></Error><RequestId>26cce805-5e34-11e3-8f30-116c04f74132</RequestId></ErrorResponse>
ERROR: PriorRequestNotComplete: The request was rejected because Route 53 was still processing a prior request.

What now? It looks like you've run into an unhandled error. Please send a detailed bug report with the entire input and output from the program to [email protected] or to https://github.com/pcorliss/ruby_route_53/issues and we'll do out best to help you.

The documentation says you should do an incremental backoff in this scenario. While I'm not certain that handling this backoff should be up to the library, when running it as the route53 command line utility, the utility exits with status 0 instead of non-zero to indicate error.


To duplicate this, I just run 2 route53 commands at the same time:

route53 --zone foo --change --name pop ... & route53 --zone foo --change --name tart ...

(it doesn't happen every time, sometimes you have to do it a few times to get it to happen, but it is frequent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant