Skip to content

Add retry support to resolving in opm alpha render-template #1513

Closed
@porridge

Description

@porridge

With a larger catalog, this command might want to pull a large number of images.
In my experience even the public production image registries are not reliable enough to return all images successfully.

What is important, even some errors which seem to be client-side issues (such as 403s, see following example) need to be retried, as in my experience they are regularly reported as intermittent issues by (apparently) confused registries.

2024/12/03 18:58:31 render reference "<some-pullspec>": failed to pull image "<some-pullspec>": error resolving name for image ref <some-pullspec>: failed to authorize: failed to fetch oauth token: unexpected status from GET request to <some-url>: 403 Forbidden

While it is possible to retry the whole opm command, this is not terribly effective, since everything is re-fetched from scratch, so the probability of success does not increase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions