Bug 748987
| Summary: | If master has leftover replica agreement from a previous failed attempt, next replica install can fail | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Namita Soman <nsoman> |
| Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | dpal, jgalipea, mgregg, mkosek, spoore |
| Target Milestone: | rc | Keywords: | Reopened |
| 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:08:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Namita Soman
2011-10-25 19:02:22 UTC
Upstream ticket: https://fedorahosted.org/freeipa/ticket/2030 Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/4b539a41d9b562ed3372ea70fbb5d52c141a43f1 The issue can be also reproduced by installing a master and a replica, then uninstalling the replica and deleting the replica host entry. ipa-replica-install then returned me an error because a replication agreement existed. The new patch will detect this agreement and prompt user to delete it. verified/automated [root@epsilon ipa-replica-install]# svn diff > ./diff.txt [root@epsilon ipa-replica-install]# cat diff.txt Index: t.replica-install.bug.sh =================================================================== --- t.replica-install.bug.sh (revision 4484) +++ t.replica-install.bug.sh (working copy) @@ -190,7 +190,7 @@ file=/dev/shm/bz823657-output.txt # Output file to be used in next tests rlRun "ipa-replica-manage del $SLAVE" 0 "Disconnect the slave agreement" rlRun "ipa-replica-manage connect $SLAVE $> $file" 0 "Reconnect the SLAVE." - rlRun "grep 'Unspecified GSS failure' $file" 2 "Ensure that a failure specified in BZ 82365 does not appear to be in teh output file $file" + rlRun "grep 'Unspecified GSS failure' $file" 1 "Ensure that a failure specified in BZ 823657 does not appear to be in the output file $file" rlPhaseEndTest } @@ -202,8 +202,8 @@ file=/dev/shm/bz824492-output.txt # Output file to be used in next tests rlRun "ipa-replica-manage disconnect $SLAVE" 0 "Disconnect the slave agreement" rlRun "ipa-replica-manage connect $SLAVE $> $file" 0 "Reconnect the SLAVE." - rlRun "grep 'You cannot connect to a previously deleted master' $file" 2 "Ensure that a failure specified in BZ 823567 does not appear to be in teh output file $file" - rlRun "grep 'list index out of range' $file" 2 "Ensure that a failure specified in BZ 823567 does not appear to be in teh output file $file" + rlRun "grep 'You cannot connect to a previously deleted master' $file" 1 "Ensure that a failure specified in BZ 824492 does not appear to be in the output file $file" + rlRun "grep 'list index out of range' $file" 1 "Ensure that a failure specified in BZ 824492 does not appear to be in the output file $file" rlPhaseEndTest } 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 |