TECHZEN Zenoss User Community ARCHIVE  

error on modelling

Subject: error on modelling
Author: [Not Specified]
Posted: 2014-07-21 09:22

Hi guys,

another problem with zenoss modelling ( one of that is on http://www.zenoss.org/forum/1706#comment-5581 discussion ).

just on some devices, apparently identical we receive below error:

--------
2014-07-21 15:33:42,197 ERROR zen.ZenModeler: : Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 85, in inner
return callable(*args, **kw)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 141, in remote_applyDataMaps
result = inner(map)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 137, in inner
return self._do_with_retries(action)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 163, in _do_with_retries
return action()
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 128, in action
completed= bool(adm._applyDataMap(device, map))
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 217, in _applyDataMap
changed = self._updateRelationship(tobj, datamap)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PythonCollector-1.5.0.egg/ZenPacks/zenoss/PythonCollector/patches/platform.py", line 36, in _updateRelationship
return original(self, device, relmap)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 280, in _updateRelationship
objchange, obj = self._createRelObject(device, objmap, rname)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 461, in _createRelObject
rel._setObject(remoteObj.id, remoteObj)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 128, in _setObject
self.addRelation(object)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 118, in addRelation
ToManyRelationshipBase.addRelation(self, obj)
File "/opt/zenoss/Products/ZenRelations/RelationshipBase.py", line 93, in addRelation
self._add(obj)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 153, in _add
v=checkValidId(self, id)
File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 94, in checkValidId
raise BadRequest, ('Empty or invalid id specified', id)
BadRequest: ('Empty or invalid id specified', '')
:
Traceback (most recent call last):
File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 693, in processClient
if driver.next():
File "/opt/zenoss/Products/ZenUtils/Driver.py", line 63, in result
raise ex
RemoteException: : Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 85, in inner
return callable(*args, **kw)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 141, in remote_applyDataMaps
result = inner(map)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 137, in inner
return self._do_with_retries(action)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 163, in _do_with_retries
return action()
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 128, in action
completed= bool(adm._applyDataMap(device, map))
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 217, in _applyDataMap
changed = self._updateRelationship(tobj, datamap)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PythonCollector-1.5.0.egg/ZenPacks/zenoss/PythonCollector/patches/platform.py", line 36, in _updateRelationship
return original(self, device, relmap)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 280, in _updateRelationship
objchange, obj = self._createRelObject(device, objmap, rname)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 461, in _createRelObject
rel._setObject(remoteObj.id, remoteObj)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 128, in _setObject
self.addRelation(object)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 118, in addRelation
ToManyRelationshipBase.addRelation(self, obj)
File "/opt/zenoss/Products/ZenRelations/RelationshipBase.py", line 93, in addRelation
self._add(obj)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 153, in _add
v=checkValidId(self, id)
File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 94, in checkValidId
raise BadRequest, ('Empty or invalid id specified', id)
BadRequest: ('Empty or invalid id specified', '')
:
------------

sometimes repeated several times.
I'm not sure if it's related on collector issues BUT what I know is that even if I use our manager as collector we always receive same error...

BUT

if you try modelling another devices with just one digit of difference ( e.g. xx.xx.xx.23 instead if xx.xx.xx.24 ) all works fine. no errore and right model of device...

Even if I think that it's should be impossible I know that there is a reason...

Can anybody help me

thanks in advance

Simone



Subject: Have you deleted and readded
Author: Andrew Kirch
Posted: 2014-07-21 13:34

Have you deleted and readded .24 are the devices on .23 and .24 identical Is it possible that the device on .24 is sending back information Zenoss isn't understanding

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: YES
Author: [Not Specified]
Posted: 2014-07-22 04:36

Hi Andrew and thanks for your time. Yes, deleted and readded removing all perf information and events.

Devices are IDENTICAL: just serial number is different by one digit. SO version, HW... all thinks identical! I dont know what I have to think...

other suggestions



< Previous
Disable WinRM Event Log Collection?
  Next
Zenpack installation issue
>