Bug 2002905

Summary: cluster admin unable to view BuildConfigs in all namespaces
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: Jon Jackson <jonjacks>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs, jokerman, kdoberst, yapei
Target Milestone: ---Keywords: Regression
Target Release: 4.9.0   
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: 2021-11-10 21:01:58 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: 2001810    
Bug Blocks:    

Description OpenShift BugZilla Robot 2021-09-10 02:24:02 UTC
+++ This bug was initially created as a clone of Bug #2001810 +++

Description of problem:
when user tries to view BuildConfigs in all namespaces console is always telling user to select a project or create a Project  

Version-Release number of selected component (if applicable):
4.9.0-0.nightly-2021-09-06-055314

How reproducible:
Always

Steps to Reproduce:
1. in Administrator or Developer perspective, cluster admin user tries to view BuildConfigs in all namespaces through Builds -> BuildConfigs, or just visit URL /k8s/all-namespaces/build.openshift.io~v1~BuildConfig or /k8s/all-namespaces/buildconfigs

Actual results:
a message will be shown on the page 
"Select a Project to view the list of BuildConfigs or create a Project' together with projects list

Expected results:
when user requests to view BuildConfigs in all namespaces, we should return correct BuildConfigs list   

Additional info:

Comment 3 Xiyun Zhao 2021-11-02 01:30:20 UTC
This bug has been fixed and verified on payload 4.9.0-0.nightly-2021-10-30-120753

Verify step:
1. Login in OCP as cluster-admin, using Administrator or Developer perspective, 
2. Navigate to Builds -> BuildConfigs page, and check 'All projects' BC. Or just visit URL /k8s/all-namespaces/build.openshift.io~v1~BuildConfig or /k8s/all-namespaces/buildconfigs
3. Verify if correct BuildConfigs list is returned when user requests to view BuildConfigs in all namespaces

Result:
3. Page will return correct BuildConfig information for all namespaces

Comment 6 errata-xmlrpc 2021-11-10 21:01:58 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 (OpenShift Container Platform 4.9.6 bug fix update), 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-2021:4119