Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1700453

Summary: prometheus monitor is not deployed after uninstall
Product: OpenShift Container Platform Reporter: jooho lee <jlee>
Component: OLMAssignee: Evan Cordell <ecordell>
Status: CLOSED DUPLICATE QA Contact: Jian Zhang <jiazha>
Severity: medium Docs Contact:
Priority: high    
Version: 4.1.0CC: anpicker, erooth, minden, mloibl, nstielau, pkrupa, scuppett, surbania
Target Milestone: ---   
Target Release: 4.1.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: 2019-04-30 13:06:16 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 jooho lee 2019-04-16 15:21:51 UTC
Description of problem:
I tried to deploy Prometheus Operator for monitoring an application and the first time, it works fine. However, when I uninstall the Prometheus operator (and subscription) and try to reinstall it, Operator subscription is created but I don't see Prometheus and Alertmanager in developer catalog.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

1. In the OpenShift Container Platform web console, navigate to Catalog → Operator Hub and install the Prometheus Operator.

2. Navigate to Catalog → Developer Catalog and install Prometheus and Alertmanager on openshift-infra project.

3. Delete Prometheus from Installed Operators menu
4. Delete Prometheus subscribtion in Operator Management
5. Try the step1,2 for default namespace.


Actual results:
subscription is created but operator is not deployed.
Moreover, Prometheus and Alertmanager are not in developer catalog.

Expected results:
Prometheus Operator deployed and  Prometheus and Alertmanager should be shown in developer catalog.

Additional info:
https://docs.openshift.com/container-platform/4.0/monitoring/application-monitoring.html

Comment 2 Frederic Branczyk 2019-04-17 08:16:11 UTC
I'm moving this to the OLM component, as due to this report, as my hunch is that this might be a problem with OLM itself:

> subscription is created but operator is not deployed.
> Moreover, Prometheus and Alertmanager are not in developer catalog.

Comment 4 Evan Cordell 2019-04-30 13:06:16 UTC

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