Bug 948056
| Summary: | segfault in db2ldif | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Nathan Kinder <nkinder> |
| Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | amsharma, mreynolds, nhosoi, sramling |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.3.1.2-1.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: An incomplete CLEANALLRUV task is present when doing an offline db2ldif.
Consequence: The CLEANALLRUV task starts up, and triggers a server crash because it tries to trim the changelog - which is not started during an offline db2ldif.
Fix: Prevent the CLEANALLRUV task from stating when performing offline tasks.
Result: Offline tasks, like db2ldif, do not crash the server.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 13:18:25 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
Nathan Kinder
2013-04-03 21:06:16 UTC
moving all ON_QA bugs to MODIFIED in order to add them to the errata (can't add bugs in the ON_QA state to an errata). When the errata is created, the bugs should be automatically moved back to ON_QA. Hi Mark, How to reproduce this issue/verification steps? should I try to stop the server while db2ldif initiated? Thanks, Ami (In reply to Amita Sharma from comment #3) > Hi Mark, > > How to reproduce this issue/verification steps? > should I try to stop the server while db2ldif initiated? > > Thanks, > Ami You will need to have a CLEANALLRUV task running, then shutdown the server, so that the server has to write out the cleanallruv task to the dse.ldif. Then do an offline db2lidf. Rich is correct. [1] Setup two replicas (A and B) [2] Stop B [3] Run cleanallruv on replica A [4] Stop A [5] Run db2ldif -> db2ldif should complete and not crash. [root@dhcp201-149 ~]# tail -f /var/log/dirsrv/slapd-M1/access [24/Jan/2014:12:48:21 +051800] conn=36 op=1 RESULT err=0 tag=107 nentries=0 etime=0 [24/Jan/2014:12:48:21 +051800] conn=36 op=2 UNBIND [24/Jan/2014:12:48:21 +051800] conn=36 op=2 fd=64 closed - U1 [24/Jan/2014:12:48:22 +051800] conn=37 fd=64 slot=64 connection from 10.65.201.149 to 10.65.201.149 [24/Jan/2014:12:48:22 +051800] conn=37 op=0 BIND dn="cn=directory manager" method=128 version=3 [24/Jan/2014:12:48:22 +051800] conn=37 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=directory manager" [24/Jan/2014:12:48:22 +051800] conn=37 op=1 ADD dn="cn=M3Task,cn=cleanallruv,cn=tasks,cn=config" [24/Jan/2014:12:48:23 +051800] conn=37 op=1 RESULT err=0 tag=105 nentries=0 etime=1 [24/Jan/2014:12:48:23 +051800] conn=37 op=2 UNBIND [24/Jan/2014:12:48:23 +051800] conn=37 op=2 fd=64 closed - U1 ============================= [root@dhcp201-149 ~]# db2ldif -Z M1 -n userRoot -a /export/example.ldif Exported ldif file: /export/example.ldif ldiffile: /export/example.ldif [24/Jan/2014:12:49:57 +051800] - export userRoot: Processed 9 entries (100%). [24/Jan/2014:12:49:57 +051800] - All database threads now stopped ============================= [root@dhcp201-149 ~]# tail -f /var/log/dirsrv/slapd-M1/errors [24/Jan/2014:12:48:23 +051800] NSMMReplicationPlugin - CleanAllRUV Task: Replica not online (agmt="cn=21921_to_21905" (dhcp201-149:21905)) [24/Jan/2014:12:48:23 +051800] NSMMReplicationPlugin - CleanAllRUV Task: Not all replicas online, retrying in 10 seconds... [24/Jan/2014:12:48:23 +051800] - slapd shutting down - signaling operation threads [24/Jan/2014:12:48:23 +051800] - slapd shutting down - closing down internal subsystems and plugins [24/Jan/2014:12:48:23 +051800] NSMMReplicationPlugin - CleanAllRUV Task: Server shutting down. Process will resume at server startup [24/Jan/2014:12:48:23 +051800] - Waiting for 4 database threads to stop [24/Jan/2014:12:48:24 +051800] - All database threads now stopped [24/Jan/2014:12:48:24 +051800] - slapd stopped. [24/Jan/2014:12:49:57 +051800] - export userRoot: Processed 9 entries (100%). [24/Jan/2014:12:49:57 +051800] - All database threads now stopped no crash found. So marking bug as VERIFIED. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |