Bug 1795407 - [Operand's Details view] Console crashed when viewing "Dynatrace OneAgent" instance details [openshift-4.3]
Summary: [Operand's Details view] Console crashed when viewing "Dynatrace OneAgent" in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.4.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-27 21:49 UTC by tony.wu
Modified: 2020-05-04 11:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the OpenShift console would show a blank page if an operator declared an invalid K8sResourceLink OLM descriptor. The console now tolerates incorrect K8sResourceLink descriptors.
Clone Of:
Environment:
Last Closed: 2020-05-04 11:27:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
'Dynatrace OneAgent' details view crash log (429.76 KB, image/png)
2020-01-27 21:49 UTC, tony.wu
no flags Details
Operand details view (436.46 KB, image/png)
2020-02-03 09:28 UTC, Yadan Pei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 4095 0 None closed Bug 1795407: tolerate invalid K8sResourceLink spec descriptor 2020-05-27 22:06:26 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:27:38 UTC

Description tony.wu 2020-01-27 21:49:54 UTC
Created attachment 1655761 [details]
'Dynatrace OneAgent' details view crash log

Description of problem:
"Dynatrace OneAgent" instance detail view crashed (list view works fine).
Cannot access to instance details.

Version-Release number of selected component (if applicable):
4.3.0-0.ci-2020-01-21-121240

How reproducible:
Always

Steps to Reproduce:
1. Installed "Dynatrace OneAgent" Operator from 'OperatorHub' view
2. Go to 'Installed Operators' view and go to 'Dynatrace OneAgent' Operator details
3. Click "Create Instance" link on 'Dynatrace OneAgent Operator' view
4. Click "Create" CTA to create "Dynatrace OneAgent" instance
5. Click on instance's name to go to Operand's details view --> UI Crashed

Actual results:
UI Crashed (see attached screenshot)

Expected results:
Able to see instance details view


Additional info:

Comment 1 bpeterse 2020-01-28 15:44:09 UTC
Tony,

Does this exist only in 4.3 or did you find in 4.4 as well?

Comment 2 Samuel Padgett 2020-01-28 20:22:23 UTC
The spec descriptor for tolerations is incorrect. `urn:alm:descriptor:io.kubernetes:Tolerations` is telling console to link to a Tolerations resource where the descriptor path is the resource name. Instead the value at the path is an object, causing the error. We should avoid the error screen, but the descriptor in the CSV should be updated.

Comment 4 Yadan Pei 2020-02-03 09:26:48 UTC
1. cluster admin installs 'Dynatrace OneAgent Operator'
2. Operators -> Installed Operators -> Dynatrace OneAgent ->  Dynatrace OneAgent tab -> click on Create OneAgent -> Create
3. on Dynatrace OneAgent tab, click on the name oneagent, it goes to Operand's details view, see screenshot, in Tolerations field, it shows " Invalid spec descriptor: value at path 'tolerations' must be a Tolerations resource name."


Verified on     4.4.0-0.nightly-2020-02-02-225006

Comment 5 Yadan Pei 2020-02-03 09:27:44 UTC
Resources, YAML tab also can be successfully loaded

Comment 6 Yadan Pei 2020-02-03 09:28:33 UTC
Created attachment 1657310 [details]
Operand details view

Comment 8 errata-xmlrpc 2020-05-04 11:27:22 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-2020:0581


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