Description of problem:
If no available operators are found that match the spec of a Subscription, the constraints listed in the ResolutionFailed event are misleading.
> constraints not satisfiable: ibm-appconnect is mandatory, ibm-appconnect has a dependency without any candidates to satisfy it
> The namespace contains a subscription for package "ibm-appconnect" and no operators were found in the catalog that match the criteria in the subscription's spec.
Version-Release number of selected component (if applicable): 4.6+
How reproducible: Always
Steps to Reproduce:
1. Create a subscription for a package that doesn't exist.
2. Look for the ResolutionFailed event in the default namespace:
$ kubectl get event --sort-by=.metadata.creationTimestamp | grep ResolutionFailed | tail -1
Actual results: see above.
Expected results, approximately:
X is mandatory -> a subscription to package X exists in the namespace
X has a dependency without any candidates to satisfy it -> no operators were found matching the criteria of the subscription
Marking for upcoming sprint and removing from 4.7.0 release list. This will be addressed in a future sprint.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.