I did an upgrade from 2.1.2 (from RPM) to 2.2.3 (from RPM)
During the zmigrate I got this...
Code:
INFO:zen.migrate:Installing pagecommand (2.2.0)
INFO:zen.migrate:Installing zpSiteCustomize (2.2.0)
INFO:zen.migrate:Installing TwoTwoIndexing (2.2.0)
Recovering
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 21, in ?
main()
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 18, in main
m.main()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 426, in main
self.cutover()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 306, in cutover
self.migrate()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 282, in migrate
m.cutover(self.dmd)
File "/opt/zenoss/Products/ZenModel/migrate/twotwoindexing.py", line 44, in
cu
tover
for comp in dev.getDeviceComponents():
File "/opt/zenoss/Products/ZenModel/Device.py", line 549, in
getDeviceComponen
ts
return [c.getObject() for c in brains]
File "/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py", line 77, in
getObject
parent = parent.unrestrictedTraverse(path[:-1])
File "/opt/zenoss/lib/python/OFS/Traversable.py", line 221, in
unrestrictedTra
verse
next=obj[name]
File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 713, in __getitem__
raise KeyError, key
KeyError: 'ILO'
zenhub will not start now and several pages display the submit bug page.
zenhub run produces the following
Code:
/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 417, in ?
z = ZenHub()
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 201, in __init__
self.rrdStats = self.getRRDStats()
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 206, in getRRDStats
rrdStats.configWithMonitor('zenhub', perfConf)
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
Is there any chance of salvaging this install??? I have the backup file from
before the upgrade, but all I am really concerned with is the config , users
and devices. since its not in production yet I can lose any history and still
be ok.
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=23393#23393
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users