Bug 1749021
| Summary: | Conflicts between PackageManifests with the same name from different sources on Console | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Bruno Andrade <bandrade> |
| Component: | Management Console | Assignee: | Alec Merdler <amerdler> |
| Status: | CLOSED ERRATA | QA Contact: | Bruno Andrade <bandrade> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2.0 | CC: | aos-bugs, chuo, jfan, jiazha, jokerman, scolange, spadgett, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.2.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-16 06:40:32 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: | |||
|
Description
Bruno Andrade
2019-09-04 17:27:53 UTC
Actual results: Console show wrong channels when it has packages with the same name. Expected results: Console should show the channels of the package that is referenced on Subscription object Steps to reproduce: 1) Should be created a specific namespace for this test: oc create ns test-operators 2) Create the ConfigMap(observe that it has only one channel called alpha) and the Catalog Source . oc create -f https://raw.githubusercontent.com/bandrade/v3-testfiles/v4.1/olm/configmap/configmap_etcd-v6.yaml -n openshift-marketplace oc create -f https://raw.githubusercontent.com/bandrade/v3-testfiles/v4.1/olm/catalogsource/catalogsource.yaml -n openshift-marketplace 3) Check that now the cluster have 2 etcd packages oc get packagemanifest -n openshift-operators | grep etcd etcd Community Operators 84m etcd Community Operators 35h 4) Create the OperatorGroup oc create -f - <<EOF apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: name: test-operators-og namespace: test-operators spec: targetNamespaces: - test-operators EOF 5) Create a Subscription in 'test-operators' namespace: oc create -f - <<EOF apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: etcd-etcdoperator.v0.9.2 spec: channel: alpha installPlanApproval: Automatic name: etcd-update source: installed-community-global-operators sourceNamespace: openshift-marketplace startingCSV: etcdoperator.v0.9.2 EOF Using above reproduction steps to create resources, then Login to web-console -> Installed Operators -> choose 'test-operators' namespace -> click on etcd-update, it will show subscription details, it only show `alpha` in Channel field This is verified on 4.2.0-0.nightly-2019-09-08-180038 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2922 |