Bug 1743259

Summary: cluster resource quota resource not visualized correctly
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.zCC: aos-bugs, jokerman, rspazzol, yapei
Target Milestone: ---   
Target Release: 4.1.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, users would see an error in the web console when navigating to the ClusterResourceQuota instances from the CRD list. The problem has been fixed, and you can now successfully list ClusterResourceQuota instances from the CRD page.
Story Points: ---
Clone Of: 1742952 Environment:
Last Closed: 2019-09-10 15:59:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1742952    
Bug Blocks:    

Description Samuel Padgett 2019-08-19 13:31:41 UTC
+++ This bug was initially created as a clone of Bug #1742952 +++

Description of problem:

the CRD clusterresourcequota does not get visualized correctly. see the attached image for the error.

Version-Release number of selected component (if applicable):


How reproducible:
100


Steps to Reproduce:
1. define a cluster resource quota
2. open the CRD page for cluster resource quota
3.

Comment 2 Yadan Pei 2019-08-26 05:59:14 UTC
1. When no ClusterResourceQuota in the cluster, cluster admin goes to Administration -> Custom Resource Definitions -> View Instances, it will show "No Cluster Resource Quotas Found"
2. cluster admin create ClusterResourceQuota
oc create clusterquota for-user --project-annotation-selector openshift.io/requester=yapeitest  --hard pods=10 --hard secrets=20
clusterresourcequota.quota.openshift.io/for-user created
3. Cluster admin goes to Administration -> Custom Resource Definitions -> View Instance, the clusterresourcequota/for-user can be listed

Verified on 4.1.0-0.nightly-2019-08-25-164016

$ oc adm release info registry.svc.ci.openshift.org/ocp/release:4.1.0-0.nightly-2019-08-25-164016 --commits | grep console
  console                                       https://github.com/openshift/console                                       d1337bf087a76ea109657d23982396436d43eccf
$ git log d1337bf087a76ea109657d23982396436d43eccf | grep '#2426'
    Merge pull request #2426 from openshift-cherrypick-robot/cherry-pick-2395-to-release-4.1

Comment 4 errata-xmlrpc 2019-09-10 15:59:37 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/RHSA-2019:2594