agnosticd icon indicating copy to clipboard operation
agnosticd copied to clipboard

Add retries to ocp4_workload_shared_cluster_access user group add

Open jkupferer opened this issue 2 years ago • 0 comments

SUMMARY

Command to add users to groups can fail with a conflict if two simultaneous attempts are made to add users to the same group.

$ oc adm groups add-users OPENTLC-PROJECT-PROVISIONERS [email protected]
Error from server (Conflict): Operation cannot be fulfilled on groups.user.openshift.io "OPENTLC-PROJECT-PROVISIONERS": the object has been modified; please apply your changes to the latest version and try again

A simple ansible retries should resolve this issue.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

Role ocp4_workload_shared_cluster_access

jkupferer avatar Nov 10 '21 16:11 jkupferer