Bug 1767070
| Summary: | Conflicting bundles from two operator sources | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ryan Hallisey <rhallise> | ||||||
| Component: | Management Console | Assignee: | bpeterse | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Yadan Pei <yapei> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 4.2.0 | CC: | aos-bugs, bsong, jokerman, krizza, nhale, nmukherj, spadgett, stirabos | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 4.4.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2020-02-05 17:55:25 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ryan Hallisey
2019-10-30 15:54:45 UTC
There ends up being 3 package manifests created with the same name. One is published in production, one in the community, and the last one is a new version I want to test. [cnv-qe-jenkins@cnv-executor-alexxa-bz ~]$ oc get packagemanifest | grep virt myvirtualdirectory Community Operators 8h kubevirt-hyperconverged Red Hat Operators 13m kubevirt-hyperconverged KubeVirt HyperConverged 13m kubevirt-hyperconverged Community Operators 13m FYI this is not a bug, this is a feature request. Currently the OperatorHub in the OpenShift console has no concept of targeting specific catalogs when creating subscriptions. I believe there is some work in progress that is being scoped out for this, but it is currently not available. IMO we should close this as NOTABUG. Created attachment 1656735 [details]
CNV in operatorHub
Created attachment 1656737 [details]
CNV subscription to channel 2.2
The UI is meant to show the default channel: https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/operator-hub/operator-hub-page.tsx#L36-L53 Can you attach the full package manifest? Simone can you provide the needed info?
> The UI is meant to show the default channel:
@Sam, what version of OCP is this in?
(In reply to Ryan Hallisey from comment #17) > @Sam, what version of OCP is this in? That link was 4.4, but 4.3 is the same: https://github.com/openshift/console/blob/release-4.3/frontend/packages/operator-lifecycle-manager/src/components/operator-hub/operator-hub-page.tsx#L35-L50 I'm not able to reproduce with the provided package manifest. Are you sure this is 4.3 and not 4.2? Looking at the code, I believe we had a bug in 4.2 where it wasn't taking the default: https://github.com/openshift/console/blob/release-4.2/frontend/public/components/operator-hub/operator-hub-page.tsx#L22-L23 It's probably 4.2 because we hit that testing the CNV upgrade scenario (CNV 2.1 -> CNV 2.2) and OCP 4.2 -> 4.3 is part of that picture. *** This bug has been marked as a duplicate of bug 1764540 *** This is a duplicate of bug 1764540. I created bug 1798646 to backport the fix to 4.2.z. thanks Sam. |