Bug 1803777 - Installing older version of an operator with manual strategy breaks UI
Summary: Installing older version of an operator with manual strategy breaks UI
Keywords:
Status: CLOSED DUPLICATE of bug 1783651
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.3.z
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: bpeterse
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-17 12:41 UTC by Martin Gencur
Modified: 2020-02-18 17:17 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-18 17:17:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Install plan detail (27.49 KB, image/png)
2020-02-17 12:41 UTC, Martin Gencur
no flags Details
Subscription detail (52.74 KB, image/png)
2020-02-17 12:41 UTC, Martin Gencur
no flags Details
Subscription list after approving first installplan (89.93 KB, image/png)
2020-02-17 12:50 UTC, Martin Gencur
no flags Details

Description Martin Gencur 2020-02-17 12:41:14 UTC
Created attachment 1663508 [details]
Install plan detail

Description of problem:

When I try to install an older version of an operator, for example Service Mesh 1.0.6, it's not possible to approve it because after clicking on "1 requires approval" the OCP console returns an error page: "404: Page Not Found"
However, the installplan exists (checked via oc get installplan -n openshift-operators) and it's possible to approve it via CLI.

I'll attach screenshots.

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

OCP 4.3.1

How reproducible:

Steps to Reproduce:
1. Use the following subscription to install Service Mesh and apply it via CLI

apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  name: servicemeshoperator
  namespace: openshift-operators
spec:
  channel: "1.0"
  installPlanApproval: Manual
  name: servicemeshoperator
  source: redhat-operators
  sourceNamespace: openshift-marketplace
  startingCSV: servicemeshoperator.v1.0.6

2. Go to UI: Operators -> Installed Operators (in openshift-operators namespace)
3. Click "1 requires approval"

Actual results:

Error page.

Expected results:

The page shows details of the installplan and I'm able to click "Approve"

Additional info:

Comment 1 Martin Gencur 2020-02-17 12:41:47 UTC
Created attachment 1663509 [details]
Subscription detail

Comment 2 Martin Gencur 2020-02-17 12:50:33 UTC
Created attachment 1663510 [details]
Subscription list after approving first installplan

Comment 3 Martin Gencur 2020-02-17 12:52:12 UTC
I also attached a screenshot of the subscription list after approving the first installplan via OC CLI. The first version of the operator is installed (I see the pods running) but the OLM says "Cannot update - Catalog source was removed"

Comment 5 Samuel Padgett 2020-02-18 17:17:53 UTC

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


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