Bug 2031040 - Error screen when open topology sidebar for a Serverless / knative service which couldn't be started
Summary: Error screen when open topology sidebar for a Serverless / knative service wh...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: 4.10.0
Assignee: Christoph Jerolimov
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-10 11:23 UTC by Christoph Jerolimov
Modified: 2022-03-10 16:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:32:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10647 0 None open Bug 2031040: Fix property reading property resource from undefined 2021-12-10 11:33:03 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:33:08 UTC

Description Christoph Jerolimov 2021-12-10 11:23:13 UTC
Description of problem:
When a Serverless application (a Knative Service) could not be started successfully and opens the topology sidebar for it, the content area shows the "Oh no! Something went wrong." error page.

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

How reproducible:
Sometimes

Steps to Reproduce:
1. Install OpenShift Serverless operator and create Knative Serving/Eventing resources
2. Navigate to developer perspective > Add page > Import from Git
3. Import an Node.js application via a Builder Image (build from source) and enter "broken" for the npm "Start Command"

   - for Example use https://github.com/jerolimov/nodeinfo
   - select Edit Import Strategy > Builder Image
   - select Builder Image version "14-ubi8"
   - enter "Start command" "broken"

4. Select the Service in the topology view to open the sidebar.
5. If the error doesn't appear now reload the current tab.

Actual results:
The topology crashs.

TypeError: Cannot read properties of undefined (reading 'resource')
    at h (https://console-openshift-console.apps.ci-ln-t04qmqb-72292.origin-ci-int-gce.dev.rhcloud.com/static/dev-console/code-refs/actions-chunk-1dbac624a5d269579c8c.min.js:1:15187)

Expected result:
The topology sidebar should be shown.

Additional info:
None

Comment 2 Abhinandan Das 2021-12-17 14:19:20 UTC
verified
OpenShift version 4.10.0-0.ci-2021-12-16-184808
Kubernetes version v1.22.1-1757+6859754c3ffc75-dirty
Cluster ID 5ed2ffcf-de10-4c82-be7f-e2ebd8ba2cc0
API server https://api.ci-ln-tdh4wwk-72292.origin-ci-int-gce.dev.rhcloud.com:6443

Comment 6 errata-xmlrpc 2022-03-10 16:32:55 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.10.3 security 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-2022:0056


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