Bug 1746194 - Should deny create the `same` subscription in the same namespace
Summary: Should deny create the `same` subscription in the same namespace
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2.0
Assignee: Evan Cordell
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks: 1714945
TreeView+ depends on / blocked
 
Reported: 2019-08-27 23:04 UTC by Evan Cordell
Modified: 2019-10-16 06:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1714945
Environment:
Last Closed: 2019-10-16 06:38:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:38:24 UTC

Comment 3 Jian Zhang 2019-08-28 09:10:40 UTC
Cluster version is 4.2.0-0.nightly-2019-08-28-004049

OLM version:
mac:~ jianzhang$ oc exec catalog-operator-5b7798599-52dqb -- olm --version
OLM version: 0.11.0
git commit: 21160c27bcc7ecb34a7babf33d010c557e0f075f

1, Subscribe the hazelcast operator(Signal version) in project jian on the Web console, select the Certified version.
mac:~ jianzhang$ oc get sub -n jian
NAME                             PACKAGE                          SOURCE                CHANNEL
hazelcast-enterprise-certified   hazelcast-enterprise-certified   certified-operators   alpha
mac:~ jianzhang$ oc get csv -n jian
NAME                      DISPLAY              VERSION   REPLACES   PHASE
hazelcast-operator.v0.1   Hazelcast Operator   0.1.0                Succeeded

2, Subscribe the hazelcast operator in project jian on the Web console, select the Community version.
Got the errors below, the users cannot subscribe to it in the same project.
Danger alert:Operator conflicts exist
Installing Operator in selected namespace would cause conflicts with another Operator providing these APIs:
Hazelcast (hazelcast.com/v1alpha1)

3, Subscribe it to another project, for example, default, the hazelcast operator(Community version) can be installed well.
mac:~ jianzhang$ oc get csv -n default
NAME                        DISPLAY              VERSION   REPLACES   PHASE
hazelcast-operator.v0.0.1   Hazelcast Operator   0.0.1                Succeeded
mac:~ jianzhang$ oc get sub -n default
NAME                   PACKAGE                SOURCE                CHANNEL
hazelcast-enterprise   hazelcast-enterprise   community-operators   alpha

LGTM, verify it.

Comment 4 errata-xmlrpc 2019-10-16 06:38:11 UTC
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


Note You need to log in before you can comment on or make changes to this bug.