Bug 1397327

Summary: rhn-search daemon tracebacks + indexes not building
Product: Red Hat Satellite 5 Reporter: Lukáš Hellebrandt <lhellebr>
Component: ServerAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 580CC: mkorbel, tlestach
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-search-2.5.1-4-sat Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:08: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:
Bug Depends On:    
Bug Blocks: 1340444    
Attachments:
Description Flags
rhn_search_daemon.log none

Description Lukáš Hellebrandt 2016-11-22 10:29:51 UTC
Created attachment 1222652 [details]
rhn_search_daemon.log

Description of problem:
On Sat 580 with Oracle, when building rhn-search indexes, tracebacks appear (see the attached file) and the indexes are not built. Building then needs to be killed. Additionally, tracebacks as in bug 1378441 are present in rhn_search.log on the machine but are not triggered by the reproducer.

How reproducible:
On sat 580 with Oracle

Steps to Reproduce:
1. # service rhn-search cleanindex # kill

2. # grep Exception /var/log/rhn/search/rhn_search_daemon.log
INFO   | jvm 1    | 2016/11/22 05:04:48 | Exception in thread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@ae298a5f" java.lang.UnsatisfiedLinkError: ocijdbc10 (Not found in java.library.path)
Exception in thread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@ae298a5f" 	at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1256)

3. # cat /var/log/rhn/search/rhn_search_daemon.log # output attached

Actual results:



Expected results:


Additional info:

Comment 3 Lukáš Hellebrandt 2016-12-06 13:16:47 UTC
FailedQA

When I leave indexing to happen on its own, the problem seems to be fixed.
However, when using the reproducer from OP, a very similar traceback appears. It is not logged in the file anymore but is output by the "service rhn-search cleanindex" command.

Comment 6 Lukáš Hellebrandt 2016-12-07 15:22:31 UTC
Verified with Sat5.8 from 2016-11-06.

Used reproducer from OP.

No traceback is shown either in the log file or the command output. Indexes are built successfully.