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

Bug 2024262

Summary: Sample catalog is not displayed when one API call to the backend fails
Product: OpenShift Container Platform Reporter: Nico Finkernagel <nfinkern>
Component: Dev ConsoleAssignee: Nico Finkernagel <nfinkern>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: low    
Version: 4.9CC: aos-bugs, cjerolim, nmukherj
Target Milestone: ---   
Target Release: 4.10.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: 2022-03-10 16:28:46 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:
Bug Depends On:    
Bug Blocks: 2068203    
Attachments:
Description Flags
Screenshot 1
none
Screenshot 2 none

Description Nico Finkernagel 2021-11-17 17:39:19 UTC
Description of problem:
On the samples page when you try to add an application from a sample the catalog gets not rendered when one API Call fails but the catalog placeholder is rendered instead. I assume that there are multiple sources for those entries on the samples page.

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

How reproducible:
Always

Steps to Reproduce:
1. Switch to the dev console
2. Create a new project
3. Click on "+Add" or "View all samples"

Actual results:
There is a second bug open at this time which ensures that the devfiles cannot be loaded from the server (see additional info). Instead of showing an error message, the page goes into a state where the catalog placeholder is shown forever.

Expected results:
There can always be a network problem that is outside the scope of the ODC, but we should somehow inform the user that the request failed.

Additional info:
https://issues.redhat.com/browse/OCPBUGSM-37199 
https://github.com/openshift/console/pull/10464

Comment 1 Nico Finkernagel 2021-11-17 17:40:27 UTC
Created attachment 1842396 [details]
Screenshot 1

Comment 2 Nico Finkernagel 2021-11-17 17:42:16 UTC
Created attachment 1842410 [details]
Screenshot 2

Comment 5 Christoph Jerolimov 2022-01-04 07:30:07 UTC
Verified on 4.10.0-0.nightly-2021-12-23-153012

Comment 8 errata-xmlrpc 2022-03-10 16:28:46 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