On Jun 26, 2009, at 2:57 PM, konsa79 wrote:
> Code:
> [r...@ipmonitoring ~]# service zenoss start
> Zenoss upgraded.  Running data migration scripts...
> Upgrade pre step
> /opt/zenoss/bin/install-functions.sh converted
> /opt/zenoss/bin/zenoss_upgrade_pre converted
> /opt/zenoss/etc/zeo.conf converted
> Starting Zope Object Database
> . daemon process started, pid=18476
> Migrating data...
> INFO:zen.migrate:Database going to version Zenoss 2.4.2
> INFO:zen.migrate:Installing FixBadJobs (2.4.2)
> INFO:zen.migrate:Installing UseIntLoadAverages (2.4.2)
> 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 425,  
> in main
>    self.cutover()
>  File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 305,  
> in cutover
>    self.migrate()
>  File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 281,  
> in migrate
>    m.cutover(self.dmd)
>  File "/opt/zenoss/Products/ZenModel/migrate/useIntLoadAverages.py",  
> line 44,  
> i 
>                                                                               
>                    n 
>  cutover
>    ds = dmd.getObjByPath('/zport/dmd/Devices/' + dsPath)
>  File "/opt/zenoss/Products/ZenModel/ZenModelBase.py", line 597, in  
> getObjByPat 
>                                                                               
>                    h
>    return getObjByPath(self, path)
>  File "/opt/zenoss/Products/ZenUtils/Utils.py", line 286, in  
> getObjByPath
>    next=obj[name]
>  File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 713, in  
> __getitem__
>    raise KeyError, key
> KeyError: 'Solaris'

This leaves your system in a perfectly usable state, but you can fully  
correct it with the following commands run as the zenoss user.

zenpatch 14088
zenmigrate

Ticket #5246: Migrate to 2.4.2 can fail if standard device classes are  
removed
http://dev.zenoss.org/trac/ticket/5246
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to