Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport][ipa-4-6] Handle races in replica config #2145

Closed
wants to merge 1 commit into from

Conversation

tiran
Copy link
Member

@tiran tiran commented Jul 12, 2018

This PR was opened automatically because PR #2132 was pushed to master and backport to ipa-4-6 is required.

@tiran
Copy link
Member Author

tiran commented Jul 12, 2018

PR was ACKed automatically because this is backport of PR #2132. Wait for CI to finish before pushing. In case of questions or problems contact @tiran who is author of the original PR.

@tiran tiran added the ack Pull Request approved, can be merged label Jul 12, 2018
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>
@tiran tiran added the pushed Pull Request has already been pushed label Jul 13, 2018
@tiran
Copy link
Member Author

tiran commented Jul 13, 2018

ipa-4-6:

  • 2394463 Handle races in replica config

@tiran tiran closed this Jul 13, 2018
@tiran tiran deleted the backport_pr2132_ipa-4-6 branch March 29, 2019 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant