I've got my rPath Appliance set to do nightly patch updates (This may prove to 
be a mistake...) and as of last night's updates many of my Perf graphs are 
broken. For example, navigating to one of my Linux servers and clicking the 
perf tab gives me this traceback:


Code:

 Type: UnboundLocalError
Value: local variable 'temp' referenced before assignment

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 Products.ZenModel.ZenModelBase, line 66, in __call__
    * 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/viewIpInterface used for 
/zport/dmd/Devices/Server/Linux/devices/leverett.rbm.local/os/interfaces/bond0>
    * 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 677, in do_condition
    * 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 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 651, in do_loop_tal
    * Module Products.PageTemplates.TALES, line 206, in setRepeat
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:ZenModel/skins/zenmodel/viewPerformanceDetail.pt
      Line 46, Column 4
      Expression: <PythonExpr here.getDefaultGraphDefs(drange=drange)>
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <IpInterface at 
/zport/dmd/Devices/Server/Linux/devices/leverett.rbm.local/os/interfaces/bond0>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb723fa0c>,
       'here': <IpInterface at 
/zport/dmd/Devices/Server/Linux/devices/leverett.rbm.local/os/interfaces/bond0>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb265d2cc>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0xb7243a6c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 
0xb265d2cc>,
       'request': <HTTPRequest, 
URL=http://zenoss.rbm.local:8080/zport/dmd/Devices/Server/Linux/devices/leverett.rbm.local/os/interfaces/bond0>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/viewIpInterface used for 
/zport/dmd/Devices/Server/Linux/devices/leverett.rbm.local/os/interfaces/bond0>,
       'traverse_subpath': [],
       'user': jeh}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: here.getDefaultGraphDefs(drange=drange)
    * Module Python expression "here.getDefaultGraphDefs(drange=drange)", line 
1, in <expression>
    * Module Products.ZenModel.RRDView, line 206, in getDefaultGraphDefs
    * Module Products.ZenModel.RRDView, line 68, in getGraphDefUrl
    * Module Products.ZenModel.PerformanceConf, line 208, in performanceGraphUrl
    * Module Products.ZenModel.GraphDefinition, line 412, in getGraphCmds
    * Module Products.ZenModel.ThresholdGraphPoint, line 110, in getGraphCmds
    * Module Products.ZenModel.ThresholdGraphPoint, line 92, in 
getRelatedGraphPoints
    * Module Products.ZenModel.ThresholdGraphPoint, line 54, in getThreshClass

UnboundLocalError: local variable 'temp' referenced before assignment




And similarly if I click on any of my network interfaces and the like. Trying 
to remodel the host yields this traceback: 


Code:

Traceback (most recent call last): File 
"/home/zenoss/Products/DataCollector/zenmodeler.py", line 210, in snmpCollect 
plugins) File "/home/zenoss/Products/DataCollector/SnmpClient.py", line 52, in 
__init__ self.proxy = self.connInfo.createSession(srcport.protocol) File 
"/home/zenoss/Products/ZenHub/services/PerformanceConfig.py", line 97, in 
createSession allowCache=allowCache) TypeError: __init__() got an unexpected 
keyword argument 'cmdLineArgs'




Everything was working great until last night's auto-update ran. Any ideas what 
I can do to fix this? I did submit some of this via the error submission form 
(where offered by Zenoss) to the dev team, but I kinda need these things 
working...




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

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

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



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

Reply via email to