Nov 12, 2012 4:10 PM
Zenoss 4.2 anything but stable?
-
Like (0)
Hello,
I'm really frustrated here. I have a large SolarWinds enviroment that I'd like to move to Zenoss. To put Zenoss through it's paces we moved a little over 100 devices consisting of network equipment and servers (physical, vmware and rhev). Despite a few UI bugs and odd behavior (like job completetion pop ups that never end) things were going really well. If this test was successful we would be moving to the Enterprise edition. However, after a restart of zenoss today we now receive the following message and no one can log in.
Type: <type 'exceptions.KeyError'>
Value: 1352753820
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 137, 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 842, in new_or_existing self[key] = item File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 454, in __setitem__ current_bucket = self._data[current_ts] KeyError: 1352753820
Any recent zenpack installations that line up with the restart? If your really serious about enterprise, maybe contacting Zenoss sales, might get you some special attention on the issue
The couple of other (unanswered) posts seem to be tied back to zenpack installations
I did find one bug report in Jira about the posible of the time being wrong and/or changed. Was the time recently changed (or is it currently wrong) on this host?
It also wouldn't hurt to check a lot of the small things.
Disk space, mysql passwords, and permissions
The last time I saw an error like this it was because there was a major change in the date/time on the server (it was moved in to the past). Zope doesn't seem to like it when a date/time is active that it has already seen. Also, just as a testament, I'm using Core 4 to monitor over 2100 devices and it's working fine. It took a lot of tweaking/tuning to squeeze the performance out of it that I needed and I had to throw quite a bit of RAM at it (26GB), but it's working well.
Chris:
On the zen master, su zenoss then zendmd.
Execute:
from Products.ZenUtils.Security import activateCookieBasedAuthentication
activateCookieBasedAuthentication(zport)
activateCookieBasedAuthentication(app)
commit()
zport.acl_users._delObject('sessionAuthHelper')
app.acl_users._delObject('sessionAuthHelper')
commit()
Then exit zendmd and zopectl restart. Give it a try then.
Best,
--Shane Scott (Hackman238)
Shane, This worked for me! Thank you!
We just had to move our zenoss server from one rack to another which took around 1.5 hours in which it was down. When Zenoss finally came up, I had a keyerror that would not event let me login. This fixed it.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||