![]() |
![]() |
Subject: | Help With ZenMigrate |
Author: | [Not Specified] |
Posted: | 2014-03-10 10:45 |
Hello everybody,
today i applied to a zenoss server Zenup SP409 and i have and issue while running zenmigrate command, this is my output:
zenmigrate
INFO:zen.migrate:Installing AddMissedRunsMonitorGraph (4.2.4)
WARNING:zen.migrate:Recovering
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 19, in
main()
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 16, in main
m.main()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 435, in main
self.cutover()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 316, in cutover
self.migrate()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 287, in migrate
m.cutover(self.dmd)
File "/opt/zenoss/Products/ZenModel/migrate/AddMissedRunsMonitorGraph.py", line 30, in cutover
missedRunsDataPoint = datasource.manage_addRRDDataPoint('missedRuns')
File "/opt/zenoss/Products/ZenModel/RRDDataSource.py", line 117, in manage_addRRDDataPoint
self.datapoints._setObject(dp.id, dp)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 128, in _setObject
self.addRelation(object)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 121, in addRelation
notify(ObjectAddedEvent(o, self, obj.getId()))
File "/opt/zenoss/lib/python/zope/event/__init__.py", line 31, in notify
subscriber(event)
File "/opt/zenoss/lib/python/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/opt/zenoss/lib/python/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/opt/zenoss/lib/python/zope/interface/registry.py", line 336, in subscribers
return self.adapters.subscribers(objects, provided)
File "/opt/zenoss/lib/python/zope/interface/adapter.py", line 583, in subscribers
subscription(*objects)
File "/opt/zenoss/lib/python/zope/component/event.py", line 32, in objectEventNotify
zope.component.subscribers((event.object, event), None)
File "/opt/zenoss/lib/python/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/opt/zenoss/lib/python/zope/interface/registry.py", line 336, in subscribers
return self.adapters.subscribers(objects, provided)
File "/opt/zenoss/lib/python/zope/interface/adapter.py", line 583, in subscribers
subscription(*objects)
File "/opt/zenoss/Products/Zuul/catalog/events.py", line 79, in onObjectAdded
notify(IndexingEvent(ob))
File "/opt/zenoss/lib/python/zope/event/__init__.py", line 31, in notify
subscriber(event)
File "/opt/zenoss/lib/python/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/opt/zenoss/lib/python/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/opt/zenoss/lib/python/zope/interface/registry.py", line 336, in subscribers
return self.adapters.subscribers(objects, provided)
File "/opt/zenoss/lib/python/zope/interface/adapter.py", line 583, in subscribers
subscription(*objects)
File "/opt/zenoss/lib/python/zope/component/event.py", line 32, in objectEventNotify
zope.component.subscribers((event.object, event), None)
File "/opt/zenoss/lib/python/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/opt/zenoss/lib/python/zope/interface/registry.py", line 336, in subscribers
return self.adapters.subscribers(objects, provided)
File "/opt/zenoss/lib/python/zope/interface/adapter.py", line 583, in subscribers
subscription(*objects)
File "/opt/zenoss/Products/Zuul/catalog/events.py", line 49, in onIndexingEvent
update_metadata=event.update_metadata)
File "/opt/zenoss/Products/Zuul/catalog/global_catalog.py", line 401, in catalog_object
ZCatalog.catalog_object(self, ob, uid, **kwargs)
File "/opt/zenoss/lib/python/Products/ZCatalog/ZCatalog.py", line 476, in catalog_object
update_metadata=update_metadata)
File "/opt/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 339, in catalogObject
blah = x.index_object(index, object, threshold)
File "/opt/zenoss/lib/python/Products/ManagableIndex/ManagableIndex.py", line 281, in index_object
rv= update(documentId,val,oldval,threshold)
File "/opt/zenoss/lib/python/Products/ManagableIndex/KeywordIndex.py", line 49, in _update
if rem: self._unindexValue(documentId,rem)
File "/opt/zenoss/lib/python/Products/ManagableIndex/KeywordIndex.py", line 43, in _unindexValue
self._remove(v,documentId)
File "/opt/zenoss/lib/python/Products/ManagableIndex/ManagableIndex.py", line 501, in _remove
% (docId, self.id)
ValueError: Attempt to remove nonexisting document -185616124 from allowedRolesAndUsers
Ive "googled" but nothing came up...
Does anybody knows what is this about
zenup status
Product: zenoss-core-4.2.4 (id = zenoss-core-4.2.4)
Home: /opt/zenoss
Revision: 409
Updated On: Mon Mar 10 08:39:12 2014
BTW: this install is running fine on a CentOS 6.5, Zenoss 4.2.4
Thanks in advance!
Regards,
Subject: | You shouldn't need to run |
Author: | Andrew Kirch |
Posted: | 2014-03-13 14:27 |
You shouldn't need to run zenmigrate after zenup. Mind if I ask why you are doing so
Andrew Kirch
akirch@gvit.com
Need Zenoss support, consulting or custom development Look no further. Email or PM me!
Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard
Subject: | ... |
Author: | [Not Specified] |
Posted: | 2014-03-17 09:59 |
zenmigrate is automatically run via zenup when it's required. You should not be running it by hand unless there's a very specific reason for doing so.
< |
Previous Mysql user and password for Zenoss Virtual Machine |
Next Some services not running after reboot |
> |