Greetings,

yesterday I decided to clear out the events database - it was entirely too big 
(well over 3G) and was slowing down Zenoss. I stopped Zenoss, dropped the 
tables and recreated them. After zenoss came back up I navigated to a specific 
device got the error below. When a similar issue happened about a year ago I 
deleted the 10.0.0.0 /Network, remodeled all my network devices and it fixed 
the issue (cf this thread (http://forums.zenoss.com/viewtopic.php?t=8424)). 
I've done the same thing this time and it didn't fix it. I am not seeing this 
behavior on all devices - just a handful.

Any help or feedback is greatly appreciated.


Code:
Type: KeyError
Value: '10.0.0.0'

Traceback (innermost last):

    * Module ZPublisher.Publish, line 114, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 195, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render
      <FSPageTemplate at /zport/deviceOsDetail used for 
/zport/dmd/Devices/Network/Router/Cisco/devices/MYROUTERNAME.mydomain.net>
    * Module TAL.TALInterpreter, line 206, in __call__
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 690, in do_defineMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 653, in do_loop_tal
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 609, in do_insertStructure_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:ZenModel/skins/zenmodel/deviceOsDetail.pt
      Line 607, Column 6
      Expression: standard:'route/getTargetLink'
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <Device at 
/zport/dmd/Devices/Network/Router/Cisco/devices/MYROUTERNAME.mydomain.net>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb72cb9ec>,
       'here': <Device at 
/zport/dmd/Devices/Network/Router/Cisco/devices/MYROUTERNAME.mydomain.net>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb1eb16c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0xb72d2a4c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb1eb16c>,
       'request': <HTTPRequest, 
URL=http://10.20.6.23:8080/zport/dmd/Devices/Network/Router/Cisco/devices/MYROUTERNAME.mydomain.net/deviceOsDetail>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/deviceOsDetail used for 
/zport/dmd/Devices/Network/Router/Cisco/devices/MYROUTERNAME.mydomain.net>,
       'traverse_subpath': [],
       'user': mawhi}

    * Module Products.PageTemplates.Expressions, line 185, in __call__
    * Module Products.PageTemplates.Expressions, line 180, in _eval
    * Module Products.PageTemplates.Expressions, line 85, in render
    * Module Products.ZenModel.IpRouteEntry, line 239, in getTargetLink
    * Module Products.ZenModel.IpNetwork, line 538, in urlLink
    * Module Products.ZenModel.ZenModelBase, line 314, in checkRemotePerm
    * Module Products.ZenRelations.PrimaryPathObjectManager, line 77, in 
primaryAq
    * Module Products.ZenUtils.Utils, line 174, in getObjByPath
    * Module OFS.Application, line 123, in __bobo_traverse__

KeyError: '10.0.0.0' 






-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=35017#35017

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to