Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1514335 - Conflict Error when multiple user tries to add the same role to different users simultaneously.
Summary: Conflict Error when multiple user tries to add the same role to different use...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Command Line Interface
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.8.0
Assignee: Maciej Szulik
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-17 06:45 UTC by Bhavani CR
Modified: 2019-02-26 16:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-26 16:07:34 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Bugzilla 1512516 None ASSIGNED Conflict Error when multiple user tries to add the same cluster role to different group simultaneously. 2019-02-26 15:59:11 UTC

Internal Links: 1512516

Description Bhavani CR 2017-11-17 06:45:38 UTC
Description of problem:
Conflict Error when multiple user tries to add the same role to different user simultaneously. 
When multiple user tries to add the role (for ex:- "view") to user say user1 and user2 , this shows a conflict error to users.


Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.6.173.0.48-1.git.0.1609d30.el7.noarch

How reproducible:
Execution of command through CLI

Steps to Reproduce:
1.Login to openshift with tmux installed for running command simultanesously
2.oadm policy add-role-to-user view user1
3.oadm policy add-role-to-user view user2
4.Execute the command on tmux with "set sync on".

Actual results:
Conflict error. Operation cannot be fulfilled on rolebindings.authorization.openshift.io "view ":the object has been modified; Please apply your status to latest version and try again

Expected results:
Success message of adding role to user.

Additional info:

Comment 2 Maciej Szulik 2019-02-26 16:07:34 UTC
This is working as expected, we don't support simultaneous modifications, all needs to be performed serially.


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