Bug 1897354 - Operator installation showing success, but Provided APIs are missing
Summary: Operator installation showing success, but Provided APIs are missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Robb Hamilton
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-12 20:59 UTC by jstickle
Modified: 2021-02-24 15:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The console is filtering out CRDs from the Provided API cards list if the model for the CRD doesn't exist, which creates a discrepancy between the cards listed on the Details tab and their corresponding tabs in the nav (the cards can not appear but the tabs always do). Consequence: Upon initial install of the Operator, the details tab can present no Provided API cards, which it makes it appear the Operator doesn't offer any APIs. Fix: Remove the filter from the Provided API cards so the cards appear even if the model doesn't exist (yet). Result: The Provided API cards and their corresponding tabs always match. Note the APIs cannot be installed their corresponding models exist (which is the existing functionality), but the UI no longer presents an empty Provided API cards state when the models aren't yet available.
Clone Of:
Environment:
Last Closed: 2021-02-24 15:32:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Missing SMCP tile/button (183.71 KB, image/png)
2020-11-12 20:59 UTC, jstickle
no flags Details
Missing two tiles (Create SMMember Roll and SM Member) (206.03 KB, image/png)
2020-11-12 21:00 UTC, jstickle
no flags Details
All three tiles (expected result) (207.04 KB, image/png)
2020-11-12 21:01 UTC, jstickle
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 7393 0 None closed Bug 1897354: make CRDCard display consistent with tabs 2021-02-18 18:36:19 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:33:13 UTC

Description jstickle 2020-11-12 20:59:44 UTC
Created attachment 1728861 [details]
Missing SMCP tile/button

Description of problem:  I ran into this problem twice yesterday.  I was running through installing the Red Hat OpenShift Service Mesh operator to check the default configuration settings in the new control plane.  But despite what appeared to be a successful installation, when I was on the operator details page, there were tiles/actions missing under the Provided APIs.  This operator has three APIs.  The first time I ran through the installation there were only two tiles displayed, and the second time there was only one tile.  There was a message "The server doesn't have a resource type ServiceMesControlPlane.  Try refreshing the page if it was recently added."  But this was on another screen.  If I was a user and thought I had successfully installed the Operator, but could not see the button that I was supposed to press next as part of the installation procedure, I would assume that something was broken.  The GUI should not indicate a successful installation if the resources don't yet exist on the server.


Version-Release number of selected component (if applicable):
OpenShift 4.6.1
Service Mesh Operator 2.0.0-2


How reproducible:  I was using an environment launched via ClusterBot on Slack and reproduced this problem the second time I ran through the installation.

Steps to Reproduce:
1. Launch a 4.6.1 cluster and log in as KubeAdmin.
2. Go to OperatorHub and install the following operators, accepting the default settings:
- Red Hat OpenShift Jaeger
- Kiali Operator
- Red Hat OpenShift Service Mesh operator
3. Navigate to Installed Operators and verify that all of the operators are successfully installed. (Status = Success with a green check mark)
4 - Navigate to Home > Projects and create a project named 'istio-system'.
5 - Navigate back to Operators > Installed Operators.  Ensure you are in the istio-system namespace and click Red Hat OpenShift Service Mesh to view the Operator Details page


Actual results:
If you have done this quickly enough, you may or may not see three tiles on the Operator Details page. (See attached screen shots)

Expected results:
Should see three tiles  with a "create instance" link on the Operator Details page:
1 - Istio Service Mesh Control Plane
2 - Istio Service Mesh Member
3 - Istio Service Mesh Member Roll


Additional info:
If you click the links across the top of the page  for the missing tile, you get a 404:Page Not Found message and "The server doesn't have a resource type ServiceMesControlPlane.  Try refreshing the page if it was recently added."   But new customers may no know or think to check the other page and might miss the message to refresh the browser.

Comment 1 jstickle 2020-11-12 21:00:43 UTC
Created attachment 1728862 [details]
Missing two tiles (Create SMMember Roll and SM Member)

Comment 2 jstickle 2020-11-12 21:01:11 UTC
Created attachment 1728863 [details]
All three tiles (expected result)

Comment 3 Robb Hamilton 2020-11-23 20:04:21 UTC
Peter Kreuser from UXD is going to work on a design to address the bug.

Comment 4 Peter Kreuser 2020-11-24 17:19:36 UTC
Design need tracked via https://issues.redhat.com/browse/PD-722

Comment 5 Robb Hamilton 2020-12-04 16:04:44 UTC
PR up, awaiting on code review.

Comment 7 Yadan Pei 2020-12-09 10:26:51 UTC
1. Cluster admin goes to OperatorHub and install the following operators, accepting the default settings:
- Red Hat OpenShift Jaeger
- Kiali Operator
- Red Hat OpenShift Service Mesh operator
2. Navigate to Installed Operators and verify that all of the operators are successfully installed. (Status = Success with a green check mark)
3. Navigate to Home > Projects and create a project named 'istio-system'.
4. Navigate back to Operators > Installed Operators.  Ensure you are in the istio-system namespace and click Red Hat OpenShift Service Mesh to view the Operator Details page, we can see three tiles  with a "create instance" link on the Operator Details page:
1 - Istio Service Mesh Control Plane
2 - Istio Service Mesh Member
3 - Istio Service Mesh Member Roll


Verified on 4.7.0-0.nightly-2020-12-08-141245

Comment 10 errata-xmlrpc 2021-02-24 15:32:41 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633


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