Skip to content
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

Channel missing from installed/dangling CSV; subscription complaining about csv that it doesn't own #3114

Open
senorhesles opened this issue Nov 16, 2023 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@senorhesles
Copy link

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.

@senorhesles senorhesles added the kind/bug Categorizes issue or PR as related to a bug. label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant