[zenoss-users] 2.2 Upgrade -- zenhub won't start
Chet Luther
cluther at zenoss.com
Thu Jun 26 08:08:35 EDT 2008
On Jun 25, 2008, at 8:36 PM, Bob Jensen wrote:
> I think I am up for the annoying emails award for the day....
>
> I upgraded from 2.1 to 2.2 on RHEL5 x86_64 and I am getting this
> error when I execute zenhub run (because the daemon would not stay
> up):
>
> [zenoss at ops-zenoss log]$ zenhub run
> /opt/zenoss/Products/ZenModel/StatusMonitorConf.py:15:
> DeprecationWarning: Products.Device.StatusMonitorConf
> warnings.warn('Products.Device.StatusMonitorConf',
> DeprecationWarning)
> Traceback (most recent call last):
> File "/opt/zenoss/Products/ZenHub/zenhub.py", line 414, in ?
> z = ZenHub()
> File "/opt/zenoss/Products/ZenHub/zenhub.py", line 203, in __init__
> self.rrdStats.configWithMonitor('zenhub', perf)
> File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 60, in
> configWithMonitor
> threshs = monitor.getThresholdInstances(BuiltInDS.sourcetype)
> File "/opt/zenoss/Products/ZenModel/RRDView.py", line 309, in
> getThresholdInstances
> result.append(threshold.createThresholdInstance(self))
> File "/opt/zenoss/Products/ZenModel/MinMaxThreshold.py", line 90,
> in createThresholdInstance
> maxval=self.getMaxval(context),
> File "/opt/zenoss/Products/ZenModel/MinMaxThreshold.py", line 110,
> in getMaxval
> maxval = talesEval("python:"+self.maxval, context)
> File "/opt/zenoss/Products/ZenUtils/ZenTales.py", line 33, in
> talesEval
> res = compiled(getEngine().getContext(contextDict))
> File "/opt/zenoss/lib/python/Products/PageTemplates/
> ZRPythonExpr.py", line 47, in __call__
> return eval(code, g, {})
> File "Python expression
> "getattr(here.getDmdRoot('Monitors').StatusMonitors,
> here.id).cycleInterval *0.8"", line 1, in <expression>
> AttributeError: cycleInterval
I think all of your problems are related to zenmigrate not being able
to run through completely. Check out my response to that KeyError
question and get that solved and a good zenmigrate run.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.zenoss.org/pipermail/zenoss-users/attachments/20080626/518f6df0/attachment.html
More information about the zenoss-users
mailing list