Bug 1673109

Summary: Not able to create new role and new rolebinding in single operation using template
Product: OpenShift Container Platform Reporter: Rajnikant <rkant>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: shahan <hasha>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.9.0CC: aos-bugs, jokerman, mmccomas, wsun, wzheng, xiaocwan
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The console created resources synchronously, which does not work when there is a dependency between resources such as role and role binding. Consequence: When trying to create resources with a dependency, the creation of the dependent resource failed. Fix: Change the console so resources are created asynchronously. Result: When creating dependent resources, the dependent resource no longer fails on creation assuming the required resource is listed first in the template.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-14 02:17:59 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:

Comment 1 Ben Parees 2019-02-06 18:26:01 UTC
Sounds like an ordering issue in how the console applies the resources from the template.

Comment 2 Samuel Padgett 2019-02-06 19:50:44 UTC
The console is creating the resources asynchronously, which breaks in this case.

Comment 3 Robb Hamilton 2019-02-07 15:22:08 UTC
PR to resolve: https://github.com/openshift/origin-web-console/pull/3116

Comment 5 shahan 2019-02-11 10:18:32 UTC
Change to modified since pr has not yet merge. 
https://github.com/openshift/origin-web-console/pull/3116

Comment 8 XiaochuanWang 2019-02-25 03:35:30 UTC
Change to modified since pr still has not yet merge. 
https://github.com/openshift/origin-web-console/pull/3116

Comment 9 Robb Hamilton 2019-02-27 13:58:18 UTC
PR (finally) merged yesterday.

Comment 10 XiaochuanWang 2019-03-01 07:35:43 UTC
Created template successfully on openshift-web-console:

OpenShift Master:
v3.11.90
Kubernetes Master:
v1.11.0+d4cacc0
OpenShift Web Console:
v3.11.90

Thanks you all!

Comment 12 errata-xmlrpc 2019-03-14 02:17:59 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/RHBA-2019:0407