Bug 1214074
| Summary: | Need a way to abort a cleanallruv abort task | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Noriko Hosoi <nhosoi> |
| Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> |
| Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0 | CC: | jgalipea, nkinder, rmeggins, sramling |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.2.11.15-54.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-22 06:37:29 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
Noriko Hosoi
2015-04-21 21:16:15 UTC
Steps by Mark: If you have two replicas, just turn one off, issue cleanAllRUV task, the cleanAllRUV task will wait becuase a replica is down. Then issue abort task (without setting "replica-certify-all"), and make sure the cleanallruv task, and abort task finish. An upstream ticket is planned. 1. Shutdown M2 in a two way MMR setup. 2. Run cleanallruv task for M2 replica agreement(ID) ldapmodify: modify operation type is missing at line 2, entry "cn=CleanC2Task,cn=cleanallruv,cn=tasks,cn=config" [root@ivanova ~]# ldapmodify -a -x -p 1189 -h localhost -D "cn=Directory Manager" -w Secret123 << EOF dn: cn=CleanC2Task,cn=cleanallruv,cn=tasks,cn=config objectclass: extensibleObject replica-base-dn: dc=passsync,dc=com replica-id: 1232 EOF adding new entry "cn=CleanC2Task,cn=cleanallruv,cn=tasks,cn=config" 3. Check if cleanallruv task is completed. Cleanallruv task will be running continuously... [15/May/2015:06:48:42 -0400] NSMMReplicationPlugin - CleanAllRUV Task: Not all replicas online, retrying in 640 seconds... [15/May/2015:06:59:21 -0400] slapi_ldap_bind - Error: could not send bind request for id [cn=SyncManager,cn=config] mech [SIMPLE]: error -1 (Can't contact LDAP server) 0 (unknown) 107 (Transport endpoint is not connected) [15/May/2015:06:59:22 -0400] NSMMReplicationPlugin - agmt="cn=1189_to_1626_on_ivanova.idmqe.lab.eng.bos.redhat.com" (ivanova:1626): Replication bind with SIMPLE auth failed: LDAP error -1 (Can't contact LDAP server) ((null)) [15/May/2015:06:59:22 -0400] NSMMReplicationPlugin - CleanAllRUV Task: Replica not online (agmt="cn=1189_to_1626_on_ivanova.idmqe.lab.eng.bos.redhat.com" (ivanova:1626)) [15/May/2015:06:59:22 -0400] NSMMReplicationPlugin - CleanAllRUV Task: Not all replicas online, retrying in 1280 seconds... 4 Issue a abort cleanallruv task for the same replica ID. [root@ivanova ~]# ldapmodify -a -x -p 1189 -h localhost -D "cn=Directory Manager" -w Secret123 << EOF dn: cn=abortTask1,cn=abort cleanallruv,cn=tasks,cn=config objectclass: extensibleObject replica-base-dn: dc=passsync,dc=com replica-id: 1232 EOF adding new entry "cn=abortTask1,cn=abort cleanallruv,cn=tasks,cn=config" 5. Check whether the cleanallruv task is completed. Abort cleanallruv task should cleanup the cleanallruv task. [15/May/2015:07:02:58 -0400] NSMMReplicationPlugin - Abort CleanAllRUV Task: Failed to connect to replica(agmt="cn=1189_to_1489_on_ivanova.idmqe.lab.eng.bos.redhat.com" (ivanova:1489)). [15/May/2015:07:02:58 -0400] NSMMReplicationPlugin - Abort CleanAllRUV Task: Waiting for CleanAllRUV task to abort... [15/May/2015:07:02:58 -0400] NSMMReplicationPlugin - Abort CleanAllRUV Task: Successfully aborted task for rid(1232) Abort cleanallruv task cleans up the running cleanallruv task. Hence, marking the bug as Verified. 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. https://rhn.redhat.com/errata/RHBA-2015-1326.html |