Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 870162

Summary: Cannot abandon simple paged result search
Product: Red Hat Enterprise Linux 6 Reporter: Noriko Hosoi <nhosoi>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Sankar Ramalingam <sramling>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.4CC: jgalipea, jrusnack, nkinder, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.2.11.15-3.el6 Doc Type: Bug Fix
Doc Text:
Cause: The abandon request expects the operation exist. When sending an abort request, the search operation could have already finished and the operation object has been released. Consequence: Abandoning simple paged requests sometimes fails. Fix: It skips operation's existence checking, which is not needed. Result: Simple paged results is always successfully aborted.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 08:21:23 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 2012-10-25 16:51:18 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/498

This enhancement "Ticket #260 - 389 DS does not support multiple paging controls on a single connection" broke the ability to abandon the on-going simple paged result search.

The abandon request expects the operation exist.  When sending an abort request, the search operation could have already finished and the operation object is released.

Plus, request page size is 0, it should be interpreted as abandoned.

Comment 5 Sankar Ramalingam 2012-11-20 01:08:12 UTC
From official acceptance tests, trac498 is passing. Hence marking the bug as Verified.

##############################trac498###############################
trac498 - test 2 types of abandons
trac498 - type 1: -abandon
Search returned Simple Paged Results Search abandoned
TestCase [trac498] result-> [PASS]
trac498 - type 2: -pg 0
Search returned Simple Paged Results Search abandoned
TestCase [trac498] result-> [PASS]


dn: uid=ttestuserds97,dc=example,dc=com
cn: testtestuserds97
uid: ttestuserds97
loop 1: 1: next page size (0)
loop 2: 0 cookies vs. 4 filters; resetting cookie
next_filter: (ou=*)
Search returned 0
Search returned Simple Paged Results Search abandoned
Search returned Operation completed without error

Successfully abandoned search
PASS

Comment 6 errata-xmlrpc 2013-02-21 08:21:23 UTC
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