![]() |
![]() |
Subject: | POSKeyError on Interface tab on certain device |
Author: | [Not Specified] |
Posted: | 2014-04-22 07:21 |
I get this stacktrace in zenhub.log:
2014-04-22 14:16:50,042 ERROR zen.hub: Unhandled exception in zenhub service Products.ZenHub.services.PingPerformanceConfig.PingPerformanceConfig: 0x19c4e1
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenCollector/services/config.py", line 116, in _wrapFunction
return functor(*args, **kwargs)
File "/opt/zenoss/Products/ZenCollector/services/config.py", line 233, in _createDeviceProxies
proxy = self._createDeviceProxy(device)
File "/opt/zenoss/Products/ZenHub/services/PingPerformanceConfig.py", line 165, in _createDeviceProxy
self._getComponentConfig(iface, perfServer, proxy.monitoredIps)
File "/opt/zenoss/Products/ZenHub/services/PingPerformanceConfig.py", line 102, in _getComponentConfig
for ipAddress in iface.ipaddresses():
File "/opt/zenoss/Products/ZenRelations/ToManyRelationship.py", line 71, in __call__
return self.objectValuesAll()
File "/opt/zenoss/Products/ZenRelations/ToManyRelationship.py", line 174, in objectValuesAll
return list(self.objectValuesGen())
File "/opt/zenoss/Products/ZenRelations/ToManyRelationship.py", line 179, in
return (obj.__of__(self) for obj in self._objects)
File "/opt/zenoss/lib/python2.7/_abcoll.py", line 532, in __iter__
v = self[i]
File "/opt/zenoss/lib/python2.7/UserList.py", line 31, in __getitem__
def __getitem__(self, i): return self.data[i]
File "/opt/zenoss/lib/python/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/opt/zenoss/lib/python/ZODB/Connection.py", line 901, in _setstate
p, serial = self._storage.load(obj._p_oid, '')
File "/opt/zenoss/lib/python/relstorage/storage.py", line 476, in load
raise POSKeyError(oid)
POSKeyError: 0x19c4e1
I have tried to restart zenoss, restart memcached, restart mysql.
Also tried to run through all tips here: http://wiki.zenoss.org/Fixing_ZODB_Integrity_Issues but even the last zenoss-repairdevice.py fails with
ERROR:ZODB.Connection:Couldn't load state for 0x19c4df
Traceback (most recent call last):
File "/opt/zenoss/lib/python/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/opt/zenoss/lib/python/ZODB/Connection.py", line 901, in _setstate
p, serial = self._storage.load(obj._p_oid, '')
File "/opt/zenoss/lib/python/relstorage/storage.py", line 476, in load
raise POSKeyError(oid)
POSKeyError: 0x19c4df
Traceback (most recent call last):
File "./zenoss-repairdevice.py", line 93, in
processOneDevice(dev)
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "./zenoss-repairdevice.py", line 82, in processOneDevice
checkIp(dev)
File "./zenoss-repairdevice.py", line 9, in checkIp
interface.checkRelations(repair=True)
File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 257, in checkRelations
rel.checkRelation(repair)
File "/opt/zenoss/Products/ZenRelations/ToManyRelationship.py", line 276, in checkRelation
if len(self._objects):
File "/opt/zenoss/lib/python2.7/UserList.py", line 30, in __len__
def __len__(self): return len(self.data)
File "/opt/zenoss/lib/python/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/opt/zenoss/lib/python/ZODB/Connection.py", line 901, in _setstate
p, serial = self._storage.load(obj._p_oid, '')
File "/opt/zenoss/lib/python/relstorage/storage.py", line 476, in load
raise POSKeyError(oid)
ZODB.POSException.POSKeyError: 0x19c4df
So now I'm very lost... anybody got an idea of how to fix this issue
Running on Zenoss 4.2.4 on Centos, and this error appeared a few days ago.
Regards
Thomas
Subject: | Did you look at this Wiki |
Author: | [Not Specified] |
Posted: | 2014-04-22 13:39 |
Did you look at this Wiki Article http://wiki.zenoss.org/Repairing_Poskey_Errors
Hydruid
Subject: | Happy |
Author: | [Not Specified] |
Posted: | 2014-04-23 08:26 |
I'm happy you got it all resolved!
Hydruid
< |
Previous (solved) programatically access zenoss |
Next panic: runtime error: invalid memory address or nil pointer dereference |
> |