Description
Bug Report
What did you do?
Created subscription.
What did you expect to see?
I expected the CSV that gets installed by OLM to get matched to the subscription; instead there is an empty string/nil value for the channel, i.e. the //
in @existing/kube-system//ibm-management-ui.v2.3.30-202311131931
; this is my best guess as to why the subscription is complaining as it doesn't have the correct/any channel listed.
What did you see instead? Under which circumstances?
I1114 00:25:05.515613 1 event.go:285] Event(v1.ObjectReference{Kind:"Namespace", Namespace:"", Name:"kube-system", UID:"cc5307ce-08fb-426d-8b0d-715df9ee9fa8", APIVersion:"v1", ResourceVersion:"4138946", FieldPath:""}): type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: subscription ibm-management-ui requires ibm-management-catalog/openshift-marketplace/2.3-candidate/ibm-management-ui.v2.3.30-202311131931, clusterserviceversion ibm-management-ui.v2.3.30-202311131931 exists and is not referenced by a subscription, @existing/kube-system//ibm-management-ui.v2.3.30-202311131931 and ibm-management-catalog/openshift-marketplace/2.3-candidate/ibm-management-ui.v2.3.30-202311131931 provide ApplicationUI (applicationui.management.ibm.com/v1alpha1), subscription ibm-management-ui exists
Note that there are multiple packages in this catalogsource, and this error crops up seemingly at random for each package. There does not seem to be a rhyme or reason as to which csv will end up dangling like this.
Environment
- OCP version 4.12.36
Possible Solution
Additional context
Add any other context about the problem here.