TECHZEN Zenoss User Community ARCHIVE  

Odd errors in Zenoss

Subject: Odd errors in Zenoss
Author: Ricky Sandhu
Posted: 2017-12-07 16:19

Good afternoon everyone,  we've had this installation of Zenoss running for years without a bump.  All of a sudden, this started happening about a week ago.  No OS updates were performed and nobody logged onto the server.  This error comes up on the main Dashboard page.  When I click on any of the links, Infrastructure etc., it simply brings me back to the login page.

Any help would be greatly appreciated.

Type: <class 'ZODB.POSException.POSKeyError'> 
Value: 0x0ed099 

Traceback (most recent call last):
File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish
request, bind=1)
File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/opt/zenoss/Products/ZenUtils/patches/pasmonkey.py", line 161, in login
pas_instance.updateCredentials(request, response, login, password)
File "/opt/zenoss/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 1100, in updateCredentials
updater.updateCredentials(request, response, login, new_password)
File "/opt/zenoss/lib/python/Products/PluggableAuthService/plugins/SessionAuthHelper.py", line 102, in updateCredentials
request.SESSION.set('__ac_name', login)
File "/opt/zenoss/lib/python/ZPublisher/HTTPRequest.py", line 1379, in __getattr__
v = self.get(key, default, returnTaints=returnTaints)
File "/opt/zenoss/lib/python/ZPublisher/HTTPRequest.py", line 1336, in get
v = v()
File "/opt/zenoss/lib/python/Products/Sessions/SessionDataManager.py", line 101, in getSessionData
return self._getSessionDataObject(key)
File "/opt/zenoss/lib/python/Products/Sessions/SessionDataManager.py", line 188, in _getSessionDataObject
ob = container.new_or_existing(key)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 839, in new_or_existing
item = self.get(key, _marker)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 495, in get
item = self._move_item(k, current_ts, default)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 285, in _move_item
self._housekeep(current_ts)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 934, in _housekeep
self._finalize(now)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 574, in _finalize
self._do_finalize_work(now, max_ts, start_finalize)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 598, in _do_finalize_work
values = list(self._data[key].values())
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: 0x0ed099


------------------------------
Ricky
------------------------------


Subject: RE: Odd errors in Zenoss
Author: Jane Curry
Posted: 2017-12-08 02:56

I'm afraid that poskey errors are one of those horrible things that, very occasionally, "just happen".  Something has got messed up in your ZODB database.  Happily, the toolbox tools generally can sort this out -  https://support.zenoss.com/hc/en-us/articles/203117595-How-To-Install-And-Use-the-zenoss-toolbox

Do also just check that you are not running out of disk space anywhere.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Odd errors in Zenoss
Author: Ricky Sandhu
Posted: 2017-12-12 06:36

Thank you.  I'll test this out and let you know.

------------------------------
Ricky
------------------------------

Type: <class 'ZODB.POSException.POSKeyError'> 
Value: 0x0ed099 

Traceback (most recent call last):
File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish
request, bind=1)
File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/opt/zenoss/Products/ZenUtils/patches/pasmonkey.py", line 161, in login
pas_instance.updateCredentials(request, response, login, password)
File "/opt/zenoss/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 1100, in updateCredentials
updater.updateCredentials(request, response, login, new_password)
File "/opt/zenoss/lib/python/Products/PluggableAuthService/plugins/SessionAuthHelper.py", line 102, in updateCredentials
request.SESSION.set('__ac_name', login)
File "/opt/zenoss/lib/python/ZPublisher/HTTPRequest.py", line 1379, in __getattr__
v = self.get(key, default, returnTaints=returnTaints)
File "/opt/zenoss/lib/python/ZPublisher/HTTPRequest.py", line 1336, in get
v = v()
File "/opt/zenoss/lib/python/Products/Sessions/SessionDataManager.py", line 101, in getSessionData
return self._getSessionDataObject(key)
File "/opt/zenoss/lib/python/Products/Sessions/SessionDataManager.py", line 188, in _getSessionDataObject
ob = container.new_or_existing(key)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 839, in new_or_existing
item = self.get(key, _marker)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 495, in get
item = self._move_item(k, current_ts, default)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 285, in _move_item
self._housekeep(current_ts)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 934, in _housekeep
self._finalize(now)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 574, in _finalize
self._do_finalize_work(now, max_ts, start_finalize)
File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 598, in _do_finalize_work
values = list(self._data[key].values())
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: 0x0ed099


------------------------------
Ricky
------------------------------


< Previous
Advanced Tab in Zenoss core
  Next
event class add
>