Bug 839638
| Summary: | ipa-replica-manage allows disconnect of last connection for a single replica | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Scott Poore <spoore> |
| Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.3 | CC: | jgalipea, mkosek |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-3.0.0-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 09:16:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Scott Poore
2012-07-12 13:26:43 UTC
Also, I'm not sure if this requires a new bug or just related to this but, I cannot seem to reconnect to a disconnected server even if there are still connections. Example: install vm4 connected to R3 install vm5 connected to R3 connect vm4 to vm5 disconnect vm4 from vm3 connect vm4 to vm3 fails [root@vm4 shared]# ipa-replica-manage -p $ADMINPW connect vm4.testrelm.com vm5.testrelm.com Connected 'vm4.testrelm.com' to 'vm5.testrelm.com' [root@vm4 shared]# ipa-replica-manage -p $ADMINPW list vm4.testrelm.com vm3.testrelm.com: replica vm5.testrelm.com: replica [root@vm4 shared]# ipa-replica-manage -p $ADMINPW list vm5.testrelm.com vm3.testrelm.com: replica vm4.testrelm.com: replica [root@vm4 shared]# ipa-replica-manage -p $ADMINPW disconnect vm3.testrelm.com vm4.testrelm.com Deleted replication agreement from 'vm3.testrelm.com' to 'vm4.testrelm.com' [root@vm4 shared]# ipa-replica-manage -p $ADMINPW list vm4.testrelm.com vm5.testrelm.com: replica [root@vm4 shared]# ipa-replica-manage -p $ADMINPW connect vm3.testrelm.com vm4.testrelm.com You cannot connect to a previously deleted master Upstream ticket: https://fedorahosted.org/freeipa/ticket/2925 Fixed upstream This fixes two problems. 1. When deleting a link it wasn't checking both sides to see if it was the last link. This would orphan one of them. 2. When reconnecting do a better job of determining if one of the masters had previously been deleted. master: 32c1aa45b3d41e15adb2ca8f8713e774046bc340 87040c0af1e76b5477cd53d515ed8071d941ce24 Verified. Version :: ipa-server-3.0.0-2.el6.x86_64 Manual Test Results :: [root@vm4 ipa]# ipa-replica-manage -p $ADMINPW disconnect vm5.testrelm.com vm6.testrelm.com ipa: INFO: Setting agreement cn=meTovm5.testrelm.com,cn=replica,cn=dc\=testrelm\,dc\=com,cn=mapping tree,cn=config schedule to 2358-2359 0 to force synch ipa: INFO: Deleting schedule 2358-2359 0 from agreement cn=meTovm5.testrelm.com,cn=replica,cn=dc\=testrelm\,dc\=com,cn=mapping tree,cn=config ipa: INFO: Replication Update in progress: FALSE: status: 0 Replica acquired successfully: Incremental update succeeded: start: 0: end: 0 Deleted replication agreement from 'vm5.testrelm.com' to 'vm6.testrelm.com' [root@vm4 ipa]# ipa-replica-manage -p $ADMINPW list vm4.testrelm.com vm5.testrelm.com: replica vm6.testrelm.com: replica [root@vm4 ipa]# ipa-replica-manage -p $ADMINPW list vm5.testrelm.com vm4.testrelm.com: replica [root@vm4 ipa]# ipa-replica-manage -p $ADMINPW list vm6.testrelm.com vm4.testrelm.com: replica [root@vm4 ipa]# ipa-replica-manage -p $ADMINPW disconnect vm4.testrelm.com vm5.testrelm.com Cannot remove the last replication link of 'vm5.testrelm.com' Please use the 'del' command to remove it from the domain [root@vm4 ipa]# Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0528.html |