agnosticd
agnosticd copied to clipboard
Add retries to ocp4_workload_shared_cluster_access user group add
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