Project

General

Profile

Actions

Bug #17529

closed

[a-d-c] AWS/EC2 driver should return a RateLimitError to dispatcher if the upstream error is RequestLimitExceeded

Added by Tom Clegg about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Story points:
-
Release relationship:
Auto

Description

Current code results in error logs like this:

{"InstanceType":"c5large.spot","PID":2231,"error":"RequestLimitExceeded: Request limit exceeded.\n\tstatus code: 503, request id: 778d5b22-90e4-4a48-8f09-6946e8edcb2c","level":"error","msg":"create failed","time":"2021-03-30T13:38:38.925565910Z"}

...but the returned error does not implement the lib/cloud.RateLimitError interface, so the dispatcher doesn't back off.


Subtasks 1 (0 open1 closed)

Task #17545: Review 17529-ec2-rate-limitResolvedTom Clegg04/14/2021Actions

Related issues

Related to Arvados - Bug #17561: [arvados-dispatch-cloud] inst.SetTags() and inst.Destroy() should respect rate-limiting responses from cloud providerNewActions
Actions

Also available in: Atom PDF