Bug 1370145

Summary: cannot reindex retrochangelog
Product: Red Hat Enterprise Linux 6 Reporter: Viktor Ashirov <vashirov>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: unspecified    
Version: 6.8CC: nhosoi, nkinder, rmeggins, spichugi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-21 10:22:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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