When upgrading from 3.1 to 3.2 on CentOS 5.6 I got the following error in install.log:
....
INFO:zen.migrate:Reindexing components. This may take a while ...
INFO:zen.migrate:indexed 1 components
WARNING:zen.migrate:Recovering
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 21, in <module>
main()
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 18, in main
m.main()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 417, in main
self.cutover()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 304, in cutover
self.migrate()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 280, in migrate
m.cutover(self.dmd)
File "/opt/zenoss/Products/ZenModel/migrate/eventfacadeUsingCatalog.py", line 53, in cutover
notify(IndexingEvent(comp))
File "/opt/zenoss/lib/python/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/opt/zenoss/lib/python/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/opt/zenoss/lib/python/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/opt/zenoss/lib/python/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/opt/zenoss/lib/python/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/opt/zenoss/lib/python/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/opt/zenoss/lib/python/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/opt/zenoss/lib/python/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/opt/zenoss/lib/python/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/opt/zenoss/Products/Zuul/catalog/events.py", line 52, in onIndexingEvent
update_metadata=event.update_metadata)
File "/opt/zenoss/Products/Zuul/catalog/global_catalog.py", line 322, in catalog_object
ZCatalog.catalog_object(self, ob, uid, **kwargs)
File "/opt/zenoss/lib/python/Products/ZCatalog/ZCatalog.py", line 529, in catalog_object
update_metadata=update_metadata)
File "/opt/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 339, in catalogObject
index = self.updateMetadata(object, uid)
File "/opt/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 278, in updateMetadata
newDataRecord = self.recordify(object)
File "/opt/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 417, in recordify
if(attr is not MV and safe_callable(attr)): attr=attr()
File "/opt/zenoss/Products/Zuul/catalog/global_catalog.py", line 224, in searchExcerpt
o.name(), o.getParentDeviceName())
TypeError: 'str' object is not callable
Stopping Zope Object Database
.
daemon process stopped
Zenoss upgrade pre-restart commands complete.
Daemon: zeoctl .
......
Now Zenoss 3.2 has started but neither Events console nor Infrastructure can be loaded in the browser, the "Unable to connect to the server." message is displayed.
Messages like this appearing in events.log:
2011-09-06T13:22:35 ERROR Zope.SiteErrorLog 1315311755.370.698218486027 http://ugbbsk1003.wsatkins.com:8080/zport/dmd/Events/evconsole_router
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 47, in call_object
Module Products.ZenUtils.extdirect.zope.router, line 24, in __call__
Module Products.ZenUtils.extdirect.router, line 88, in __call__
Module Products.ZenUtils.jsonutils, line 152, in json
Module json, line 230, in dumps
Module json.encoder, line 367, in encode
Module json.encoder, line 309, in _iterencode
Module json.encoder, line 275, in _iterencode_dict
Module json.encoder, line 309, in _iterencode
Module json.encoder, line 275, in _iterencode_dict
Module json.encoder, line 306, in _iterencode
Module json.encoder, line 204, in _iterencode_list
Module json.encoder, line 309, in _iterencode
Module json.encoder, line 275, in _iterencode_dict
Module json.encoder, line 309, in _iterencode
Module json.encoder, line 275, in _iterencode_dict
Module json.encoder, line 317, in _iterencode
Module json.encoder, line 323, in _iterencode_default
Module json.encoder, line 344, in default
TypeError: <bound method DeviceClass.titleOrId of <DeviceClass at /zport/dmd/Devices>> is not JSON serializable
Message was edited by: gadams Downgraded rpms and used zenrestore, now seem to be running OK back at version 3.1 .
-
Like (0)