Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1500859 - Incorrect project count in My Projects
Incorrect project count in My Projects
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.7.0
x86_64 Linux
unspecified Severity medium
: ---
: 3.7.0
Assigned To: Samuel Padgett
Mike Fiedler
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-11 11:27 EDT by Mike Fiedler
Modified: 2017-11-28 03:28 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-10-31 11:00:56 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description Mike Fiedler 2017-10-11 11:27:36 EDT
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 12:44:00 EDT
Some projects with duplicate creation timestamps were being hidden.
Comment 3 Samuel Padgett 2017-10-11 17:13:47 EDT
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 02:33:58 EDT
Hi Mike,

Could you please help verify the bug? Thank you!
Comment 6 Mike Fiedler 2017-10-31 10:50:38 EDT
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.