After upgrading to the latest ZenJMX I get the following error when I click on
the ZenPacks.zenoss.ZenJMX link under the ZenPacks Tab under Zenoss' settings.
Code:
Type: ValueError
Value: list.index(x): x not in list
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 65, 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/viewPackDetail used for
/zport/dmd/ZenPackManager/packs/ZenPacks.zenoss.ZenJMX>
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 477, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenModel/skins/zenmodel/viewPackDetail.pt
Line 135, Column 4
Expression: <PythonExpr
container.dmd.ZenTableManager.getBatch(tableName,objects,sortedHeader='getPrimaryDmdId')>
Names:
{'container': <ZentinelPortal at /zport>,
'context': <ZenPack at /zport/dmd/ZenPackManager/packs/ZenPacks.zenoss.ZenJMX>,
'default': <Products.PageTemplates.TALES.Default instance at 0x2ae6f736da28>,
'here': <ZenPack at /zport/dmd/ZenPackManager/packs/ZenPacks.zenoss.ZenJMX>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x17a21248>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance
at 0x2ae6f736de18>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x17a21248>,
'request': <HTTPRequest,
URL=http://tests-04.qoslabs.com:8080/zport/dmd/ZenPackManager/packs/ZenPacks.zenoss.ZenJMX>,
'root': <Application at >,
'template': <FSPageTemplate at /zport/viewPackDetail used for
/zport/dmd/ZenPackManager/packs/ZenPacks.zenoss.ZenJMX>,
'traverse_subpath': [],
'user': zenoss}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__:
container.dmd.ZenTableManager.getBatch(tableName,objects,sortedHeader='getPrimaryDmdId')
Module Python expression
"container.dmd.ZenTableManager.getBatch(tableName,objects,sortedHeader='getPrimaryDmdId')",
line 1, in <expression>
Module Products.ZenWidgets.ZenTableManager, line 157, in getBatch
Module Products.ZenWidgets.ZenTableManager, line 249, in sortObjects
Module Products.ZenWidgets.ZenTableManager, line 240, in dictAwareSort
Module Products.ZenWidgets.ZenTableManager, line 234, in __init__
Module Products.ZenModel.ZenModelBase, line 402, in getPrimaryDmdId
ValueError: list.index(x): x not in list
When I go to the terminal and run zenjmx run I get the following:
Code:
INFO:zen.ZenJMX:Connecting to localhost:8789
INFO:zen.ZenJMX:Connected to ZenHub
INFO:zen.ZenJmxJavaClient:run():starting zenjmxjava
[2009-09-02 18:14:23,183] [INFO ] [main]
com.zenoss.zenpacks.zenjmx.ZenJmxMain:151 - zenjmxjava configuration:
[2009-09-02 18:14:23,187] [INFO ] [main]
com.zenoss.zenpacks.zenjmx.ZenJmxMain:152 - {v=20, zenjmxjavaport=9988}
[2009-09-02 18:14:23,188] [INFO ] [main]
com.zenoss.zenpacks.zenjmx.ZenJmxMain:68 - setting root logger to INFO
2009-09-02 18:14:23.254::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2009-09-02 18:14:23.388::INFO: jetty-6.0.2
2009-09-02 18:14:23.416::WARN: failed SocketConnector @ 0.0.0.0:9988
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:141)
at
org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:78)
at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:72)
at
org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:251)
at
org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:145)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.Server.doStart(Server.java:239)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at com.zenoss.zenpacks.zenjmx.ZenJmxMain.main(ZenJmxMain.java:95)
2009-09-02 18:14:23.420::WARN: failed ser...@329f671b
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:141)
at
org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:78)
at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:72)
at
org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:251)
at
org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:145)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.Server.doStart(Server.java:239)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at com.zenoss.zenpacks.zenjmx.ZenJmxMain.main(ZenJmxMain.java:95)
WARNING:zen.ZenJmxJavaClient:processEnded():zenjmxjava process ended [Failure
instance: Traceback (failure with no frames):
twisted.internet.error.ProcessTerminated: A process has ended with a probable
error condition: process ended with exit code 10.
]
INFO:zen.ZenJmxJavaClient:run():starting zenjmxjava
[2009-09-02 18:14:23,853] [INFO ] [main]
com.zenoss.zenpacks.zenjmx.ZenJmxMain:151 - zenjmxjava configuration:
[2009-09-02 18:14:23,857] [INFO ] [main]
com.zenoss.zenpacks.zenjmx.ZenJmxMain:152 - {v=20, zenjmxjavaport=9989}
[2009-09-02 18:14:23,857] [INFO ] [main]
com.zenoss.zenpacks.zenjmx.ZenJmxMain:68 - setting root logger to INFO
2009-09-02 18:14:23.884::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2009-09-02 18:14:23.969::INFO: jetty-6.0.2
2009-09-02 18:14:23.997::INFO: Started SocketConnector @ 0.0.0.0:9989
ERROR:zen.ZenJMX:[Failure instance: Traceback (failure with no frames):
exceptions.AttributeError: CopiedFailure instance has no attribute '__len__'
]
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 49, in _next
self.iter.next().addBoth(self._finish)
File
"/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.ZenJMX-3.1.8-py2.4.egg/ZenPacks/zenoss/ZenJMX/zenjmx.py",
line 100, in configTask
driver.next()
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in
result
raise ex
AttributeError: CopiedFailure instance has no attribute '__len__'
INFO:zen.ZenJmxJavaClient:stop():stopping zenjmxjava
INFO:zen.ZenJMX:Daemon ZenJMX shutting down
INFO:zen.ZenJMX:zenjmx shutting down
Any ideas? Thanks!
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=38817#38817
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users