Bug 1633885 - Duplicate Prometheus Operator installplan is created when creating Prometheus Operator subscriptions for the first time
Summary: Duplicate Prometheus Operator installplan is created when creating Prometheus...
Keywords:
Status: CLOSED DUPLICATE of bug 1628107
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Evan Cordell
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-28 02:12 UTC by Junqi Zhao
Modified: 2018-10-16 02:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 02:50:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Junqi Zhao 2018-09-28 02:12:33 UTC
Description of problem:
Fresh environment, there is not Prometheus Operator subscriptions exist in the environment, create Prometheus Operator subscriptions from cluster console or via command for the first time, duplicate Prometheus Operator installplan would be created.(Note: This does not affect the operator function)

create Prometheus Operator subscriptions for the first time
# oc -n test1 get installplan
NAME                                                                       CSV                         SOURCE         APPROVAL    APPROVED
installplan.operators.coreos.com/install-prometheusoperator.0.22.2-hz5mf   prometheusoperator.0.22.2   rh-operators   Automatic   false
installplan.operators.coreos.com/install-prometheusoperator.0.22.2-krgl9   prometheusoperator.0.22.2   rh-operators   Automatic   false

Create another project and create Prometheus Operator subscriptions under the project, there is not duplicate installplan
# oc -n test2 get installplan
NAME                                                                       CSV                         SOURCE         APPROVAL    APPROVED
installplan.operators.coreos.com/install-prometheusoperator.0.22.2-7j8wb   prometheusoperator.0.22.2   rh-operators   Automatic   false

Version-Release number of selected component (if applicable):
startingCSV: prometheusoperator.0.22.2
# openshift version
openshift v3.11.16

How reproducible:


Steps to Reproduce:
1. Create one project and create Prometheus Operator subscriptions, then check via `oc get installplan`
2. Create another project and create Prometheus Operator subscriptions, then check via `oc get installplan`
3.

Actual results:
Duplicate Prometheus Operator installplan is created

Expected results:
Should not have duplicate Prometheus Operator installplan

Additional info:

Comment 1 Frederic Branczyk 2018-09-28 09:47:00 UTC
This sounds like it's rather a bug in OLM, and just happens to happen with the Prometheus install plan.

Comment 2 Jian Zhang 2018-10-16 02:50:53 UTC
Junqi,

Thanks for your reporting. This is a known issue, please see bug 1628107 for more details.

*** This bug has been marked as a duplicate of bug 1628107 ***


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