+++ 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):
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.
1.The "Rebuild" item is gray and disabled.
1."Rebuild" should be enabled and user could rebuild successfully.
Cluster-admin user could rebuild successfully.
--- Additional comment from Samuel Padgett on 2019-11-21 14:16:52 UTC ---
I was able to reproduce, but not reliably. Does the action become enabled for you when refreshing the page?
I suspect we're racing. We make the self subject access review request too soon after the resource was created.
--- Additional comment from Samuel Padgett on 2019-11-21 14:49:58 UTC ---
Lowering the severity because this only happens immediately after creating the build and there's a simple workaround.
--- Additional comment from Yanping Zhang on 2019-11-22 02:44:18 UTC ---
From my test, it's not only happens immediately after creating the build. The "Rebuild" item would not be enabled after refresh page, even after waiting for a long time.
--- Additional comment from Yanping Zhang on 2019-11-27 08:41:43 UTC ---
According Comment 3 and the bug blocks our auto process, I'd like to raising the bug severity level.
Tested on ocp 4.3 with payload 4.3.0-0.nightly-2019-12-06-014514. Now the "Rebuild" button is enable on kebab list and action list. Click on it, a new build will be triggered successfully.
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.