URL: https://github.com/freeipa/freeipa/pull/2146 Author: tiran Title: #2146: [Backport][ipa-4-5] Handle races in replica config Action: opened
PR body: """ Manual backport of PR #2132 to 4.5 branch
When multiple replicas are installed in parallel, two replicas may try to create the cn=replica entry at the same time. This leads to a conflict on one of the replicas. replica_config() and ensure_replication_managers() now handle conflicts.
ipaldap now maps TYPE_OR_VALUE_EXISTS to DuplicateEntry(). The type or value exists exception is raised, when an attribute value or type is already set.
Fixes: https://pagure.io/freeipa/issue/7566 Signed-off-by: Christian Heimes cheimes@redhat.com Reviewed-By: Thierry Bordaz tbordaz@redhat.com """
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/2146/head:pr2146 git checkout pr2146
URL: https://github.com/freeipa/freeipa/pull/2146 Author: tiran Title: #2146: [Backport][ipa-4-5] Handle races in replica config Action: closed
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/2146/head:pr2146 git checkout pr2146
freeipa-devel@lists.fedorahosted.org