Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 469903

Summary: Search server "cleanindex" option broken
Product: [Community] Spacewalk Reporter: John Matthews <jmatthew>
Component: ServerAssignee: John Matthews <jmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: medium    
Version: 0.3CC: jesusr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-22 16:30:11 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:
Bug Depends On:    
Bug Blocks: 456552    

Description John Matthews 2008-11-04 17:23:52 UTC
Description of problem:

Run "/sbin/service rhn-search cleanindex" and you will see an error because the Oracle JDBC jar is not in the CLASSPATH.


Version-Release number of selected component (if applicable):
spacewalk-search-0.3.4-1.el5.sw

How reproducible:
always

Steps to Reproduce:
1./sbin/service rhn-search cleanindex
2.
3.

Comment 2 John Matthews 2008-11-05 17:30:15 UTC
This got fixed in this build:
spacewalk-search-0.3.5-1.el5.sw.noarch.rpm

Comment 3 Jesus M. Rodriguez 2009-01-15 04:18:15 UTC
09/01/14 23:14:07 INFO search.DeleteIndexes: Running query: deleteLastErrata
09/01/14 23:14:07 INFO search.DeleteIndexes: Attempting to delete /usr/share/rhn/search/indexes/errata
09/01/14 23:14:07 INFO search.DeleteIndexes: Running query: deleteLastPackage
09/01/14 23:14:07 INFO search.DeleteIndexes: Attempting to delete /usr/share/rhn/search/indexes/package
09/01/14 23:14:07 INFO search.DeleteIndexes: Running query: deleteLastServer
09/01/14 23:14:07 INFO search.DeleteIndexes: Attempting to delete /usr/share/rhn/search/indexes/server
09/01/14 23:14:07 INFO search.DeleteIndexes: Running query: deleteLastHardwareDevice
09/01/14 23:14:07 INFO search.DeleteIndexes: Attempting to delete /usr/share/rhn/search/indexes/hwdevice
09/01/14 23:14:07 INFO search.DeleteIndexes: Running query: deleteLastSnapshotTag
09/01/14 23:14:07 INFO search.DeleteIndexes: Running query: deleteLastServerCustomInfo
09/01/14 23:14:07 INFO search.DeleteIndexes: Index files have been deleted and database has been cleaned up, ready to reindex


BEFORE:
ls indexes/
docs  errata  hwdevice  package  server

AFTER:
ls indexes/
docs

Docs are *NOT* regenerated so they were correctly left behind.