-
Notifications
You must be signed in to change notification settings - Fork 545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolution error constraints not satisfiable: no operator found from catalog
is not cleared after CatalogSource is made available again
#3162
Comments
Confirmed that OLM v0.24.0 (and v0.23.1) release does not have this issue. When the catalog is deleted, the resolution error shows up on the subscription. When the catalog is re-created, the resolution error is removed v0.24.0 catalog-operator logs: https://gist.github.com/anik120/9245135fba0e9e7db2ae011257626a94 It is consistently reproducible from v0.25.0 onwards. v0.25.0 catalog-operator logs: https://gist.github.com/anik120/2dd969a07ce31b0ca7e8f31718b7ebff |
Closes operator-framework#3162 Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
Closes operator-framework#3162 Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
The func `removeSubsCond` takes in a list of pointers to Subscription objects, modifies the objects that the pointers point to, but return a new list of those pointers. A [PR](operator-framework#2942) included in the v0.25.0 release [changed the way the output of that function was being used](https://github.com/operator-framework/operator-lifecycle-manager/pull/2942/files#diff-a1760d9b7ac1e93734eea675d8d8938c96a50e995434b163c6f77c91bace9990R1146-R1155) leading to a regression. This PR fixes the `removeSubsCond` function, fixing the regression as a result. Closes operator-framework#3162 Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
The func `removeSubsCond` takes in a list of pointers to Subscription objects, modifies the objects that the pointers point to, but return a new list of those pointers. A [PR](operator-framework#2942) included in the v0.25.0 release [changed the way the output of that function was being used](https://github.com/operator-framework/operator-lifecycle-manager/pull/2942/files#diff-a1760d9b7ac1e93734eea675d8d8938c96a50e995434b163c6f77c91bace9990R1146-R1155) leading to a regression. This PR fixes the `removeSubsCond` function, fixing the regression as a result. Closes operator-framework#3162 Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
The func `removeSubsCond` takes in a list of pointers to Subscription objects, modifies the objects that the pointers point to, but return a new list of those pointers. A [PR](operator-framework#2942) included in the v0.25.0 release [changed the way the output of that function was being used](https://github.com/operator-framework/operator-lifecycle-manager/pull/2942/files#diff-a1760d9b7ac1e93734eea675d8d8938c96a50e995434b163c6f77c91bace9990R1146-R1155) leading to a regression. This PR fixes the `removeSubsCond` function, fixing the regression as a result. Closes operator-framework#3162 Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
…3166) The func `removeSubsCond` takes in a list of pointers to Subscription objects, modifies the objects that the pointers point to, but return a new list of those pointers. A [PR](#2942) included in the v0.25.0 release [changed the way the output of that function was being used](https://github.com/operator-framework/operator-lifecycle-manager/pull/2942/files#diff-a1760d9b7ac1e93734eea675d8d8938c96a50e995434b163c6f77c91bace9990R1146-R1155) leading to a regression. This PR fixes the `removeSubsCond` function, fixing the regression as a result. Closes #3162 Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
Bug Report
What did you do?
What did you expect to see?
After deleting the new catalog-operator pod to force another resolution, the error message on the subscription to go away
$ kubectl delete pod catalog-operator-86664778f9-mmmqg -n olm pod "catalog-operator-86664778f9-mmmqg" deleted
What did you see instead? Under which circumstances?
Error message still exists
Environment
master
kind v0.18.0 go1.20.2 darwin/arm64
Possible Solution
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: