Bug 1501785 - Always show loading in Catalog when there is no imagestreams nor templates in 'openshift' namespace
Summary: Always show loading in Catalog when there is no imagestreams nor templates in...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.x
Assignee: David Taylor
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-13 08:17 UTC by Yadan Pei
Modified: 2018-03-20 21:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-20 21:07:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yadan Pei 2017-10-13 08:17:30 UTC
Description of problem:
The catalog in home page keeps loading when there is no imagestreams and templates under 'openshift' namespace

Version-Release number of selected component (if applicable):
oc v3.7.0-alpha.1+3b758ea-1079

How reproducible:
Always

Steps to Reproduce:
1.Launch openshift without imagestreams and templates under namespace 'openshift' 
2.Login to web console


Actual results:
2.After successful login, user will be on home page. The catalog will keep loading 

Expected results:
2.Should show some useful infomation, such as 0 items or print message telling there is no imagestreams nor templates

Additional info:

Comment 1 Samuel Padgett 2017-10-13 11:35:55 UTC
Dave, you can test with

oc login -u system:admin
oc delete templates --all -n openshift
oc delete imagestreams --all -n openshift

Comment 2 David Taylor 2017-11-09 14:43:58 UTC
Sam, I 'oc cluster up --version=latest' -without the '--service-catalog=true'; and deleted the templates and imagestreams.  When launching console, the catalog just shows a spinner.

Comment 3 Robb Hamilton 2017-11-28 17:38:57 UTC
PR to resolve: https://github.com/openshift/origin-web-console/pull/2493

Comment 4 Yadan Pei 2018-01-24 02:10:30 UTC
Now it shows "There are no catalog items." on Catalog when there is no imagestreams nor templates

Move to VERIFIED, checked on 

OpenShift Master:
    v3.9.0-alpha.3+b41d1da-127
Kubernetes Master:
    v1.9.1+a0ce1bc657
OpenShift Web Console:
    v3.9.0-alpha.3+e0775be-20


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