-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
4.10
-
Moderate
-
None
-
Rejected
-
Unspecified
-
Release Note
-
-
This bug was initially created as a copy of Bug #2054407
I am copying this bug because:
Use this BZ to track the effort remaining from Bug2054407 that depends on the implementation of https://github.com/operator-framework/operator-lifecycle-manager/issues/2730
Description of problem:
If an invalid subs channel is specified in subs policy used by upgrade, CGU will indicate a successful upgrade right after policy is enforced, because there is no change in state (AtLatestKnown).
conditions/ResolutionFailed should be taken into account as well.
- message: 'constraints not satisfiable: no operators found in channel 4.12 of
package sriov-network-operator in the catalog referenced by subscription sriov-network-operator-subscription,
subscription sriov-network-operator-subscription exists'
reason: ConstraintsNotSatisfiable
status: "True"
type: ResolutionFailed
Version-Release number of selected component (if applicable):
4.10
How reproducible:
100%
Steps to Reproduce:
1. Update any operator subscriptions channel to an invalid channel in PGT.
2. Trigger upgrade with subscriptions policy.
3. Monitor CGU status and policy status
Actual results:
- CGU indicates successful upgrade and subscriptions policy becomes compliant right away.
Expected results:
- subscriptions policy stays nonCompliant with conditions/ResolutionFailed field checked.
Additional info: