On Mar 11, 2008, at 10:06 AM, Kelly F. Hickel wrote:
Still having this problem, I've tried a number of things, but I can't get zenmigrate to finish. Does anyone have any ideas?

[EMAIL PROTECTED] ~]$ zenmigrate
INFO:zen.migrate:Installing MakeTemplateCatalog
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 309, in main
    self.cutover()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 185, in cutover
    self.migrate()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 164, in migrate
    m.cutover(self.dmd)
File "/opt/zenoss/Products/ZenModel/migrate/ makeTemplateCatalog.py", line 29,
in cutover
    ReindexRRDTemplates(dmd)
File "/opt/zenoss/Products/ZenModel/RRDTemplate.py", line 59, in ReindexRRDTem
plates
    for t in dmd.Monitors.getAllRRDTemplates():
File "/opt/zenoss/Products/ZenModel/MonitorClass.py", line 179, in getAllRRDTe
mplates
    return self.rrdTemplates()
AttributeError: rrdTemplates

Try running "zenmigrate --step=MonitorTemplateMenu" then running the normal zenmigrate afterwards. I think this might be an ordering issue.

Performance statistics will be kept on the monitors themselves in 2.2, and the MonitorTemplateMenu is the migration step that adds performance templates to the monitors. The step that is failing for you, MakeTemplateCatalog, expects the templates to exist on the monitors but it would appear that they don't yet.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to