Bug 1673109 - Not able to create new role and new rolebinding in single operation using template
Summary: Not able to create new role and new rolebinding in single operation using tem...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.11.z
Assignee: Robb Hamilton
QA Contact: shahan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-06 17:17 UTC by Rajnikant
Modified: 2019-03-14 02:18 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2019-03-14 02:17:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0407 0 None None None 2019-03-14 02:18:07 UTC

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


Note You need to log in before you can comment on or make changes to this bug.