Skip to content

Retry processing on AWS error #1443

Description

@pleasant-menlo

Summary

Sometimes launching a batch job fails with an error in AWS, i.e.

"CannotPullContainerError: failed to resolve ref 593025701104.dkr.ecr.us-west-2.amazonaws.com/codice-l3-repo:latest for schema1 conversion: failed to do request: Head "https://593025701104.dkr.ecr.us-west-2.amazonaws.com/v2/codice-l3-repo/manifests/latest": dial tcp 16.145.66.67:443: i/o timeout"

It appears that the job is lost, and is not automatically retried. It could be nice if such situations were handled by retrying the job.

Error source

Requirements

  • Detect when a job fails for an internal AWS reason
  • Requeue the job automatically
  • Limit to a certain number of retries

Related tickets

No response

Metadata

Metadata

Assignees

Labels

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions