TECHZEN Zenoss User Community ARCHIVE  

zenrelationscan issue

Subject: zenrelationscan issue
Author: [Not Specified]
Posted: 2014-11-24 11:48

Does anyone have an idea if this is normal. Running,
zenrelationscan --debug --fix -n 2

With this in part of the log (seems to not like /jobs),

2014-11-24 12:28:25,680 ERROR zenrelationscan: jobs
Traceback (most recent call last):
File "/opt/zenoss/lib/python2.7/site-packages/zenoss.toolbox-0.5.0-py2.7.egg/zenoss/toolbox/zenrelationscan.py", line 171, in scan_relationships
object.checkRelations(repair=attempt_fix)
File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 256, in checkRelations
for rel in self.getRelationships():
File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 245, in getRelationships
return self.objectValues(spec=RELMETATYPES)
File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 430, in objectValues
return [ self._getOb(id) for id in self.objectIds(spec) ]
File "/opt/zenoss/lib/python/OFS/CopySupport.py", line 88, in _getOb
raise AttributeError(id)
AttributeError: jobs
2014-11-24 12:28:25,719 ERROR zenrelationscan: jobs
Traceback (most recent call last):
File "/opt/zenoss/lib/python2.7/site-packages/zenoss.toolbox-0.5.0-py2.7.egg/zenoss/toolbox/zenrelationscan.py", line 160, in scan_relationships
object = relationships_to_check.next()
File "/opt/zenoss/Products/ZenUtils/Utils.py", line 509, in getSubObjectsMemo
for x in getSubObjectsMemo(obj, filter, descend, memo):
File "/opt/zenoss/Products/ZenUtils/Utils.py", line 501, in getSubObjectsMemo
objs = base.objectValues()
File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 430, in objectValues
return [ self._getOb(id) for id in self.objectIds(spec) ]
File "/opt/zenoss/lib/python/OFS/CopySupport.py", line 88, in _getOb
raise AttributeError(id)
AttributeError: jobs
2014-11-24 12:28:25,737 INFO zenrelationscan: zenrelationscan completed in 681.38 seconds
2014-11-24 12:28:25,738 INFO zenrelationscan: ############################################################



Subject: Prokopowichj, have you tried
Author: [Not Specified]
Posted: 2014-11-24 13:38

Prokopowichj, have you tried zodbscan and finsposkeyerror first Are both of those tools clean (no error results)

I have not seen that error before.



Subject: yes, I have ...
Author: [Not Specified]
Posted: 2014-11-25 06:54

yes, I have ...
2014-11-24 11:26:27,229 INFO zodbscan: 16.22% of zodb objects not reachable - examine your zenossdbpack settings
2014-11-24 11:26:27,235 INFO zodbscan: 0 Dangling References were detected
2014-11-24 11:26:27,236 INFO zodbscan: zodbscan completed in 245.78 seconds
2014-11-24 11:26:27,236 INFO zodbscan: ############################################################

2014-11-24 11:42:15,928 INFO findposkeyerror: Initializing findposkeyerror
2014-11-24 11:42:15,928 INFO findposkeyerror: Command line options: {'debug': True, 'path': '/zport/dmd/Devices', 'fix': False, 'unlimitedram': False}
2014-11-24 11:42:15,929 DEBUG findposkeyerror: Acquired 'zenoss.toolbox' execution lock
2014-11-24 11:42:30,235 DEBUG findposkeyerror: ZenScriptBase connection obtained
2014-11-24 11:42:30,396 INFO findposkeyerror: Examining items under the '/zport/dmd/Devices' path ()
2014-11-24 11:49:03,683 INFO findposkeyerror: findposkeyerror completed in 407.80 seconds
2014-11-24 11:49:03,699 INFO findposkeyerror: ############################################################



Subject: Make sure you are using the
Author: Brad
Posted: 2014-11-26 15:39

Make sure you are using the latest toolbox:

https://support.zenoss.com/ics/support/default.aspdeptID=16059&redirect...

I had some issues with previous versions as well.



Subject: I installed the lastest
Author: [Not Specified]
Posted: 2014-11-27 09:05

I installed the lastest toolbox and have similar results and also found this in the event.log,

2014-11-27T09:01:37 ERROR Zope.SiteErrorLog 1417096897.270.19079076395 http://zenoss/zport/dmd/manage_menu
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Shared.DC.Scripts.Bindings, line 322, in __call__
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module App.special_dtml, line 185, in _exec
Module TreeDisplay.TreeTag, line 112, in render
Module TreeDisplay.TreeTag, line 233, in tpRender
Module TreeDisplay.TreeTag, line 488, in tpRenderTABLE
- __traceback_info__: (['AAAAAAAACmk=', []], {'url': 'tpURL', 'nowrap': '1', 'branches': 'tpValues', 'id': 'tpId', 'childless_decoration': ''}, (['AAAAAAAACmk=', []],), (['AAAAAAAACmk=', []],))
Module TreeDisplay.TreeTag, line 286, in tpRenderTABLE
Module OFS.ObjectManager, line 557, in tpValues
Module OFS.CopySupport, line 88, in _getOb
AttributeError: jobs
------
2014-11-27T09:01:55 ERROR Zope.SiteErrorLog 1417096915.080.426891040216 http://zenoss/zport/dmd/JobManager/manage_main
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Shared.DC.Scripts.Bindings, line 322, in __call__
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module App.special_dtml, line 185, in _exec
Module OFS.ObjectManager, line 437, in objectItems
Module OFS.CopySupport, line 88, in _getOb
AttributeError: jobs
------



< Previous
Notifications - Ability to BCC?
  Next
ZenWebTx
>