Bug 1500859 - Incorrect project count in My Projects
Summary: Incorrect project count in My Projects
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.7.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.7.0
Assignee: Samuel Padgett
QA Contact: Mike Fiedler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-11 15:27 UTC by Mike Fiedler
Modified: 2017-11-28 08:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-31 15:00:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description Mike Fiedler 2017-10-11 15:27:36 UTC
Description of problem:

Seeing inconsistent, but usually incorrect, project counts in My Projects

Cluster #1 - a cluster with 209 total projects.   A user with cluster-reader access to all projects gets  "5 of 46 projects" in My Projects.   Clicking View All correctly displays all 209 projects

Cluster #2 - a normal user creates 138 projects.   My Projects shows "5 of 106".   View All again shows all 138.


Version-Release number of selected component (if applicable):  v3.7.0-0.143.2


How reproducible:  Always, so far.   2 attempts.


Steps to Reproduce:
1.  Install a 1 master/1 infra/2 compute cluster in AWS with AllowAll authentication
2.  From master:  oc adm policy add-cluster-role-to-user cluster-reader anyuser
3.  From master:  for i in {0..199}; do oc new-project test$i; done
4.  Login as anyuser on the console

(Can also repeat this as a normal user as well - same result)

Actual results:

Project count in My Project incorrect

Expected results:

Project count correct.
Additional info:

Comment 1 Samuel Padgett 2017-10-11 16:44:00 UTC
Some projects with duplicate creation timestamps were being hidden.

Comment 3 Samuel Padgett 2017-10-11 21:13:47 UTC
The catalog change was picked up in the version bump in this PR:

https://github.com/openshift/origin-web-console/pull/2235

Comment 5 Yadan Pei 2017-10-31 06:33:58 UTC
Hi Mike,

Could you please help verify the bug? Thank you!

Comment 6 Mike Fiedler 2017-10-31 14:50:38 UTC
Verified on 3.7.0-0.188.0

Used steps in description.  Project count is correct.   All projects appear in View All


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