On Jun 29, 2009, at 3:34 PM, Wagner, Jesse wrote:
I noticed that my zenmodler was dying every few days so I resolved
to find the cause. One thing I did was try to rebuild the indexes
but I am getting this error. I suspect the two issues are related.
I’ve tried to clear all of the catalogs I could find but it’s no
help. I’ve also deleted all zec files and restarted but also to no
avail.
http://ears-monitoring.rws.ad.ea.com/zport/dmd/Networks/ipSearch/manage_catalogAdvanced
http://ears-monitoring.rws.ad.ea.com/zport/dmd/Devices/deviceSearch/manage_catalogAdvanced?manage_tabs_message=Catalog%20Cleared
http://ears-monitoring.rws.ad.ea.com/zport/dmd/Devices/componentSearch/manage_catalogAdvanced?manage_tabs_message=Catalog%20Cleared
[zen...@ears-monitoring log]$ zendmd
Welcome to zenoss dmd command shell!
use zhelp() to list commands
>>> reindex()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/opt/zenoss/zenoss/Products/ZenModel/zendmd.py", line 71, in
reindex
dmd.Networks.reIndex()
File "/opt/zenoss/zenoss/Products/ZenModel/IpNetwork.py", line
420, in reIndex
ip.index_object()
File "/opt/zenoss/zenoss/Products/ZenModel/IpAddress.py", line
233, in index_object
self.index_links()
File "/opt/zenoss/zenoss/Products/ZenModel/Linkable.py", line 30,
in index_links
cat.catalog_object(self, self.getPrimaryId())
File "/opt/zenoss/zenoss/lib/python/Products/ZCatalog/
ZCatalog.py", line 567, in catalog_object
update_metadata=update_metadata)
File "/opt/zenoss/zenoss/lib/python/Products/ZCatalog/Catalog.py",
line 360, in catalogObject
blah = x.index_object(index, object, threshold)
File "/opt/zenoss/zenoss/Products/ManagableIndex/
ManagableIndex.py", line 245, in index_object
if oldval is not None:
self._unindex_object(documentId,oldval,val is None)
File "/opt/zenoss/zenoss/Products/ManagableIndex/
ManagableIndex.py", line 272, in _unindex_object
self._unindexValue(documentId,val)
File "/opt/zenoss/zenoss/Products/ManagableIndex/FieldIndex.py",
line 26, in _unindexValue
self._remove(val,documentId)
File "/opt/zenoss/zenoss/Products/ManagableIndex/
ManagableIndex.py", line 470, in _remove
else: dl.remove(docId)
KeyError: 731375545
>>>
Does anyone have a clue?
It looks like one catalog you may have missed, the layer3_catalog. Try
the steps from the following article.
http://www.zenoss.com/Members/cluther/fix-a-broken-layer3_catalog/
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users