Configuration & Administration

Expand all | Collapse all

zenoss 4.2.5 key error

  • 1.  zenoss 4.2.5 key error

    Posted 03-01-2018 01:02 AM

    Hi

    after a server break down I get this zenoss error when i try to login
    the server is an vmware, with centos, the image I restored is 1 week old.


    Type: <type 'exceptions.KeyError'> 

    Value: 1519883260 

    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())
    KeyError: 1519883260


    ------------------------------
    Rune Toftrup
    ------------------------------


  • 2.  RE: zenoss 4.2.5 key error

    Posted 03-10-2018 04:49 AM
    This may be an issue with the zodb_session database which holds transient data. Have a look at this wiki item (towards the end) -  http://wiki.zenoss.org/Troubleshooting_Zenoss_PosKey_Errors
    Cheers,
    Jane

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