Bug 929114
| Summary: | cleanAllRUV task fails to cleanup config upon completion | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Libor Miksik <lmiksik> |
| Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> |
| Status: | CLOSED ERRATA | QA Contact: | Sankar Ramalingam <sramling> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.4 | CC: | abienven, dpal, jgalipea, jwest, mreynolds, nhosoi, nkinder, pm-eus, rmeggins, tlavigne |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.2.11.15-14.el6_4 | Doc Type: | Bug Fix |
| Doc Text: |
A task manually constructed an exact value to be removed from the configuration if the "replica-force-cleaning" option was used. Consequently, the task configuration was not cleaned up, and every time the server was restarted, the task behaved in the described manner. This update searches the configuration for the exact value to delete, instead of manually building the value, and the task does not restart when the server is restarted
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-15 18:23:12 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: | |||
| Bug Depends On: | 923503 | ||
| Bug Blocks: | |||
|
Description
Libor Miksik
2013-03-29 09:33:59 UTC
Cleanallruv abort task is gracefully exiting if there are no cleanallruv tasks running. ldapmodify -ax -D "cn=directory manager" -h localhost -p 1189 -w Secret123 << EOF dn: cn=M1Task2,cn=abort cleanallruv,cn=tasks,cn=config cn: M1Task2 objectclass: extensibleObject replica-base-dn: dc=passsync,dc=com replica-id: 1234 EOF adding new entry "cn=M1Task2,cn=abort cleanallruv,cn=tasks,cn=config" ldap_add: Server is unwilling to perform (53) additional info: Replica id (1234) is not being cleaned, nothing to abort. Also, when the server restarts, it cleans up the failed cleanallruv abort task. ==> /var/log/dirsrv/slapd-M1/errors <== [13/Apr/2013:02:15:18 -0400] - slapd shutting down - signaling operation threads [13/Apr/2013:02:15:18 -0400] - slapd shutting down - waiting for 20 threads to terminate [13/Apr/2013:02:15:18 -0400] - slapd shutting down - closing down internal subsystems and plugins [13/Apr/2013:02:15:19 -0400] NSMMReplicationPlugin - Abort CleanAllRUV Task: Abort task failed, will resume the task at the next server startup. [13/Apr/2013:02:15:19 -0400] - Waiting for 4 database threads to stop [13/Apr/2013:02:15:19 -0400] - All database threads now stopped [13/Apr/2013:02:15:19 -0400] - slapd stopped. [13/Apr/2013:02:15:21 -0400] - 389-Directory/1.2.11.15 B2013.100.2247 starting up [13/Apr/2013:02:15:21 -0400] NSMMReplicationPlugin - Abort CleanAllRUV Task: replica id(1234) is not being cleaned, nothing to abort. Aborting abort task. Hence marking the bug as Verified. rpm -qa |grep -i 389-ds-base 389-ds-base-1.2.11.15-14.el6_4.x86_64 389-ds-base-devel-1.2.11.15-14.el6_4.x86_64 389-ds-base-debuginfo-1.2.11.15-14.el6_4.x86_64 389-ds-base-libs-1.2.11.15-14.el6_4.x86_64 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-0742.html |