Bug 1774843

Summary: "Rebuild" item is disabled for common user
Product: OpenShift Container Platform Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.zCC: aos-bugs, jokerman, spadgett, yapei
Target Milestone: ---   
Target Release: 4.2.z   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1774842 Environment:
Last Closed: 2020-02-24 16:52:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1774842, 1779316    
Bug Blocks:    

Description Yanping Zhang 2019-11-21 05:46:33 UTC
Issue also exists on OCP 4.2.
+++ This bug was initially created as a clone of Bug #1774842 +++

Description of problem:
Common user tries to rebuild a build by click "Rebuild" item in action list from console. The "Rebuild" item is gray and disabled.

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

How reproducible:

Steps to Reproduce:
1.Common user creates app in project, after starts a build, tries to rebuild the build by click "Rebuild" item in action list.

Actual results:
1.The "Rebuild" item is gray and disabled.

Expected results:
1."Rebuild" should be enabled and user could rebuild successfully.

Additional info:
Cluster-admin user could rebuild successfully.

Comment 1 Samuel Padgett 2019-11-21 14:50:50 UTC
Lowering the severity because this only happens immediately after creating the build and there's a simple workaround. (See discussion in bug 1774842.)

Comment 3 Yanping Zhang 2020-02-10 14:48:20 UTC
Checked on ocp 4.2.18, now common user could click "Rebuild" button and trigger new build successfully.
The bug is fixed.

Comment 5 errata-xmlrpc 2020-02-24 16:52:45 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.