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

Bug 1334485

Summary: Empty Overview page
Product: OpenShift Container Platform Reporter: Fabiano Franz <ffranz>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: adellape, aos-bugs, ffranz, jforrest, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When a project had no services but had a deployment configuration with no deployments, the empty Overview page in the web console displayed a "No services to show" message. This bug fix updates the message to more specifically read "There are no services and no running deployments or pods."
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-27 15:06:59 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:
Attachments:
Description Flags
empty-overview none

Description Fabiano Franz 2016-05-09 18:30:42 UTC
Created attachment 1155410 [details]
empty-overview

Description of problem:

Overview page displayed empty with the "no services to show" message and without the "Add to project" button. 

I had mostly leftovers from deletes resources in my project: 1 build config with the latest build in "failed" state, one pod in an error state and 2 routes without services.

Steps to reproduce it: I'm not exactly sure how I got there, but I was mostly doing a number of 'oc new-app' and 'oc run' with subsequent 'oc expose' and deleting the resources after they were created.

Comment 1 Yadan Pei 2016-05-11 03:17:04 UTC
Hi Fabiano,

Please help check if all resources are deleted successfully by iterating all secondary menus under Browse

When all resources(buildconfig&builds, deploymentconfig&deployments, etc.) are deleted successfully, you could get "Get started with your project" and "Add to Project" button on overview page

If buildconfig/deloymentconfig or other resources which is not intended to show on Overview page exists, you will got "no services to show" message and without the "Add to project" button(that's the scenario in your case)

Comment 2 Jessica Forrester 2016-05-24 14:29:13 UTC
I narrowed down when this occurs and its technically the correct behavior.  It is when you have no services and you have a deployment config that has no associated replication controllers (deployments).  So we don't show you the "empty project" screen because your project is not empty, you have a DC.  For the 3.2.1 / dev preview timeframe the message just needs to get updated to be more clear, 3.3+ we are reworking the overview and will take this case into account and show a DC even if it has no deployments yet.

Comment 3 Jessica Forrester 2016-05-24 14:34:32 UTC
Jakub can you put together a PR that updates the "No services to show" message on the overview to something like "There are no services and no running deployments or pods."

Comment 6 Yadan Pei 2016-06-06 09:53:46 UTC
Now we get clear message "There are no services and no running deployments or pods." if we have none of these in our project.

Compared with message "No Services", it is more reasonable


Message "There are no services and no running deployments or pods." indicated that none of these resources(services, running deployments, pods) we would like to show on Overview page don't exist, maybe other resources exist but we will not print them on overview

Comment 8 errata-xmlrpc 2016-06-27 15:06:59 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-2016:1343