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 over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Start date:
04/14/2021
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
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/2021

Actions

Related issues 1 (1 open0 closed)

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

Actions
Actions

Also available in: Atom PDF