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
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.
Bug Report
Seen something like this on
twomany separate occasions now.What did you do?
InstallPlanwent into conditionDeadlineExceededwith:Danger alert:Failed Bundle unpacking failed. Reason: DeadlineExceeded, and Message: Job was active longer than specified deadlineInstallPlaninstantly went into conditionDeadlineExceededopenshift-marketplaceand 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
release-4.9OpenShift 4.9Possible 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.