Bug 1594939
| Summary: | Projects endpoint in a Starter cluster returns empty list of projects after a project is created | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | George Gastaldi <ggastald> |
| Component: | openshift-apiserver | Assignee: | Stefan Schimanski <sttts> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Mike Fiedler <mifiedle> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.11.0 | CC: | aos-bugs, ggastald, jforrest, jokerman, mfojtik, mifiedle, mmccomas, scuppett, xxia, yufchang |
| Target Milestone: | --- | Keywords: | OnlineStarter |
| Target Release: | 3.11.z | ||
| 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: | 2019-08-12 11:16: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: | |||
|
Description
George Gastaldi
2018-06-25 19:10:16 UTC
I noticed that in general it takes ~ 1 minute to return the correct data in the /projects endpoint 6132 projects on starter-us-east-1 (openshift v3.11.0-0.21.0). What I see: $ time oc delete project starxia-proj --loglevel 6 I0913 11:17:01.961725 13833 loader.go:359] Config loaded from file /home/xxia/.kube/config I0913 11:17:01.962930 13833 loader.go:359] Config loaded from file /home/xxia/.kube/config I0913 11:17:01.966040 13833 loader.go:359] Config loaded from file /home/xxia/.kube/config I0913 11:17:01.975222 13833 loader.go:359] Config loaded from file /home/xxia/.kube/config I0913 11:17:01.977166 13833 loader.go:359] Config loaded from file /home/xxia/.kube/config I0913 11:17:01.979135 13833 loader.go:359] Config loaded from file /home/xxia/.kube/config I0913 11:17:03.189714 13833 round_trippers.go:405] DELETE https://api.starter-us-east-1.openshift.com:443/apis/project.openshift.io/v1/projects/starxia-proj 200 OK in 1210 milliseconds project.project.openshift.io "starxia-proj" deleted I0913 11:17:03.190231 13833 delete.go:272] object does not implement the Object interfaces I0913 11:17:03.450450 13833 round_trippers.go:405] GET https://api.starter-us-east-1.openshift.com:443/apis/project.openshift.io/v1/projects/starxia-proj 200 OK in 259 milliseconds I0913 11:17:03.719768 13833 round_trippers.go:405] GET https://api.starter-us-east-1.openshift.com:443/apis/project.openshift.io/v1/projects?fieldSelector=metadata.name%3Dstarxia-proj&resourceVersion=3135626418&watch=true 200 OK in 268 milliseconds real 2m55.017s user 0m0.212s sys 0m0.020s The issue is not happened on INT(free-int) and Prod Pro(pro-us-east-1) and the correct data can be got in 6s. From the description, it is more like a perfermance issue. @Mike, could you help take a look whether the DB searching time is effected by tons of projects? Moving this to 3.11.x in case we still see this behavior. No new reports/occurrences against 3.11 once we upgraded there and the 3.x clusters have been retired. Closing for now in case new reports occur. |