Bug 469903 - Search server "cleanindex" option broken
Search server "cleanindex" option broken
Status: CLOSED CURRENTRELEASE
Product: Spacewalk
Classification: Community
Component: Server (Show other bugs)
0.3
All Linux
medium Severity low
: ---
: ---
Assigned To: John Matthews
Red Hat Satellite QA List
:
Depends On:
Blocks: space04
  Show dependency treegraph
 
Reported: 2008-11-04 12:23 EST by John Matthews
Modified: 2009-01-22 11:30 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-22 11:30:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Matthews 2008-11-04 12:23:52 EST
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 12:30:15 EST
This got fixed in this build:
spacewalk-search-0.3.5-1.el5.sw.noarch.rpm
Comment 3 Jesus M. Rodriguez 2009-01-14 23:18:15 EST
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.

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