Bug 1370145 - cannot reindex retrochangelog
Summary: cannot reindex retrochangelog
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: 389-ds-base
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Noriko Hosoi
QA Contact: Viktor Ashirov
Marc Muehlfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-25 12:06 UTC by Viktor Ashirov
Modified: 2020-09-13 20:51 UTC (History)
4 users (show)

Fixed In Version: 389-ds-base-1.2.11.15-83.el6
Doc Type: Bug Fix
Doc Text:
Reindexing the `retro` changelog no longer fails Previously, the *retrocl-plugin* sets a lock in read mode on the changelog back end without releasing it. This could result in a deadlock situation. For example, an index task executed by the "db2index.pl" script on the `retro` changelog back end became unresponsive when a lock in write mode was set. This update applies a patch and as a result, reindexing the `retro` changelog no longer fails.
Clone Of:
Environment:
Last Closed: 2017-03-21 10:22:44 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 956 0 None None None 2020-09-13 20:51:55 UTC
Red Hat Product Errata RHBA-2017:0667 0 normal SHIPPED_LIVE 389-ds-base bug fix update 2017-03-21 12:35:05 UTC

Description Viktor Ashirov 2016-08-25 12:06:21 UTC
Description of problem:
I was running upstream tests on RHEL6 and reproduced this on 1.2.11.15-77 with ticket47619_test.py: 
https://fedorahosted.org/389/ticket/47619
After applying fix from the upstream ticket, test passes.

Version-Release number of selected component (if applicable):
389-ds-base-1.2.11.15-77

How reproducible:
always

Steps to Reproduce:
1. Run ticket47619_test.py

Actual results:
Server hangs

Expected results:
Task should complete sucessfully

Additional info:

Comment 3 Simon Pichugin 2016-11-25 13:33:42 UTC
========================= test session starts =========================
platform linux2 -- Python 2.7.8, pytest-3.0.4, py-1.4.31, pluggy-0.4.0 -- /opt/rh/python27/root/usr/bin/python
cachedir: .cache
DS build: 1.2.11.15 B2016.312.1950
389-ds-base: 1.2.11.15-85.el6
nss: 3.27.1-7.el6
nspr: 4.13.1-1.el6
openldap: 2.4.40-14.el6
svrcore: 4.0.4-5.1.el6

rootdir: /mnt/tests/rhds/tests/upstream/ds, inifile:
plugins: html-1.11.1, cov-2.4.0, beakerlib-0.6
collected 4 items

dirsrvtests/tests/tickets/ticket47619_test.py::test_ticket47619_init PASSED
dirsrvtests/tests/tickets/ticket47619_test.py::test_ticket47619_create_index PASSED
dirsrvtests/tests/tickets/ticket47619_test.py::test_ticket47619_reindex PASSED
dirsrvtests/tests/tickets/ticket47619_test.py::test_ticket47619_check_indexed_search PASSED

====================== 4 passed in 97.00 seconds ======================

Marking as verified.

Comment 7 errata-xmlrpc 2017-03-21 10:22:44 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.

https://rhn.redhat.com/errata/RHBA-2017-0667.html


Note You need to log in before you can comment on or make changes to this bug.