Skip to content

Bundle unpacking doesn't retry after DeadlineExceeded even after resubscribing. #2265

@rohantmp

Description

@rohantmp

Bug Report

Seen something like this on twomany separate occasions now.

What did you do?

  • Installed a catalog-source and subscription at the same time.
  • Image pull hit the dockerhub rate limits, so the catalog-source bundle didn't come up.
  • The InstallPlan went into condition DeadlineExceeded with: Danger alert:Failed Bundle unpacking failed. Reason: DeadlineExceeded, and Message: Job was active longer than specified deadline
  • Came back later when the catalog-source was ready and recreated the subscription.
  • The new InstallPlan instantly went into condition DeadlineExceeded
  • Workaround: After much tinkering, found that deleting the failed job in openshift-marketplace and then creating the subscription allowed the install to proceed.

What did you expect to see?
When recreating a subscription, retry the bundle lookup even if the previous failed job exists.

What did you see instead? Under which circumstances?
A clear and concise description of what you expected to happen (or insert a code snippet).
When recreating a subscription, artifacts of the previous failed bundle lookup prevent a retry.

Environment

  • operator-lifecycle-manager version:

release-4.9

  • Kubernetes version information:
oc version
Client Version: 4.9.0-0.nightly-2021-07-16-011609
Server Version: 4.9.0-0.nightly-2021-07-16-011609
  • Kubernetes cluster kind:

OpenShift 4.9

Possible Solution

See if the bundle lookup job was the result of a previous installplan and recreate it instead of failing.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.triagedIssue has been considered by a member of the OLM community

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions