Bug 830355
Summary: | [RFE] improve cleanruv functionality | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Nathan Kinder <nkinder> |
Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> |
Status: | CLOSED ERRATA | QA Contact: | Sankar Ramalingam <sramling> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 6.4 | CC: | jgalipea, mreynolds, nhosoi, tlavigne |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.2.11.15-7.el6 | Doc Type: | Release Note |
Doc Text: |
New CLEANALLRUV Operation
Obsolete elements in the Database Replica Update Vector (RUV) can be removed with the CLEANRUV operation, which removes them on a single supplier/master. Red Hat Enterprise Linux 6.4 adds a new CLEANALLRUV operation which can remove obsolete RUV data from all replicas and needs to be run on a single supplier/master only.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 08:17:57 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
2012-06-08 21:51:38 UTC
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4. See upstream ticket for implementation details cleanallruv acceptance tests failed for cleanallruv abort task. ----------------- Starting Test cleanallruv_03 ------------------------- Running - cleanallruv_03 to verify Running cleanallruv abort task before cleanallruv task is fired, run cleanallruv task when one of the replica is down and abort task before bringing the server up cn=H1Task,cn=cleanallruv,cn=tasks,cn=config cn: H1Task objectClass: extensibleObject objectClass: top replica-base-dn: dc=cleanallruv,dc=com replica-id: 1235 nstaskcurrentitem: 8 nstasktotalitems: 1 nstasklog:: Q2xlYW5pbmcgcmlkICgxMjM1KS4uLgpXYWl0aW5nIHRvIHByb2Nlc3MgYWxsIHRoZ SB1cGRhdGVzIGZyb20gdGhlIGRlbGV0ZWQgcmVwbGljYS4uLgpXYWl0aW5nIGZvciBhbGwgdGhlI HJlcGxpY2FzIHRvIGJlIG9ubGluZS4uLgpSZXBsaWNhIG5vdCBvbmxpbmUgKGFnbXQ9ImNuPTIxO TIxX3RvXzIxOTA2IiAoZGVsbC1wZTI4MDAtMDE6MjE5MDYpKQpOb3QgYWxsIHJlcGxpY2FzIG9ub GluZSwgcmV0cnlpbmcgaW4gMTAgc2Vjb25kcy4uLgpSZXBsaWNhIG5vdCBvbmxpbmUgKGFnbXQ9I mNuPTIxOTIxX3RvXzIxOTA2IiAoZGVsbC1wZTI4MDAtMDE6MjE5MDYpKQpOb3QgYWxsIHJlcGxpY 2FzIG9ubGluZSwgcmV0cnlpbmcgaW4gMjAgc2Vjb25kcy4uLgpUYXNrIGFib3J0ZWQgZm9yIHJpZ CgxMjM1KS4= nstaskstatus: Task aborted for rid(1235). nstaskexitcode: 0 CleanAllRUV task with task name - H1Task for replica id - 1235 failed Test result for CleanReplAgrmt, Checking whether cleanallruv task is completed for Replica ID-1235 on M1-21921, Actual_Result=1, Expected_Result=0 TestCase [cleanallruv03] result-> [FAIL] The abort task has been modified, for this particular test you need to add this attr/value to the task entry: replica-certify-all: off (In reply to comment #7) > The abort task has been modified, for this particular test you need to add > this attr/value to the task entry: > > replica-certify-all: off Mark, can you provide more information on where to add this attribute? (In reply to comment #8) > (In reply to comment #7) > > The abort task has been modified, for this particular test you need to add > > this attr/value to the task entry: > > > > replica-certify-all: off > > Mark, can you provide more information on where to add this attribute? You add it to the task entry: dn: cn=abort 222, cn=abort cleanallruv, cn=tasks, cn=config objectclass: extensibleObject cn: abort 222 replica-base-dn: dc=example,dc=com replica-id: 222 replica-certify-all: off dn: cn=cleanallruv,cn=tasks,cn=config objectClass: top objectClass: extensibleObject cn: cleanallruv dn: cn=H1Task,cn=cleanallruv,cn=tasks,cn=config cn: H1Task objectClass: CleanAllRUV task with task name - H1Task for replica id - 1235 failed Test result for CleanReplAgrmt, Checking whether the task is completed for Replica ID-1235 on M1-21921, Actual_Result=1, Expected_Result=1 TestCase [cleanallruv03] result-> [PASS] Running cleanallruv abort task before starting H1 ldap_add: Operations error ldap_add: additional info: Invalid value for "replica-certify-all", the value must be "yes" or "no". adding new entry cn=H1Abort,cn=abort cleanallruv,cn=tasks,cn=config ------------------------------------ It says, the value must be yes/no. I am re-running the tests with "no" and I will update it once I get the results. replica-certify-all: no Successfully completed Running CleanAllRUV Abort task on M1 Sleeping for 60 secs to make sure the task is completed on all masters/consumers Expecting the cleanallruv task should be cleaned up dn: cn=abort cleanallruv,cn=tasks,cn=config objectClass: top objectClass: CleanAllRUV task with task name - H1Abort for replica id - 1235 failed Test result for CleanReplAgrmt, Checking whether cleanallruv abort task is completed for Replica ID-1235 on M1-21921, Actual_Result=1, Expected_Result=0 TestCase [cleanallruv03] result-> [FAIL] Running cleanallruv abort task before starting H1 adding new entry cn=H1Abort,cn=abort cleanallruv,cn=tasks,cn=config replica-certify-all: yes Successfully completed Running CleanAllRUV Abort task on M1 Sleeping for 60 secs to make sure the task is completed on all masters/consumers Expecting the cleanallruv task should be cleaned up dn: cn=abort cleanallruv,cn=tasks,cn=config objectClass: top objectClass: CleanAllRUV task with task name - H1Abort for replica id - 1235 failed Test result for CleanReplAgrmt, Checking whether cleanallruv abort task is completed for Replica ID-1235 on M1-21921, Actual_Result=1, Expected_Result=0 TestCase [cleanallruv03] result-> [FAIL] How are you checking if the task is complete? The actual task entry does not get removed until after a server restart. So checking for the task entry under cn=config is not the correct proceedure. You should really check the error log, or the task entry itself for: "Successfully aborted task" Closing the feature bug as VERIFIED, please open a specific bug for any issue(s) you are seeing, if the issue ends up not being a test script issue 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-0503.html |