Has anybody a solution to this?

If I specify more than 10 ssh plugins in zCollectorPlugins, the modeling 
process hangs, times out and fires an error event (CHANNEL_OPEN_FAILURE: 
Authentication failure).

Code:

ERROR:zen.SshClient:CHANNEL_OPEN_FAILURE: Authentication failure
DEBUG:zen.ZenModeler:Sending event {'manager': 'localhost', 'severity': 4, 
'device': 'taxco', 'eventClass': '/Cmd/Fail', 'component': 'zenmodeler', 
'agent': 'zenmodeler', 'summary': 'CHANNEL_OPEN_FAILURE: Authentication 
failure'}
Traceback (most recent call last):
  File "home/zenoss/instances/zenoss/lib/python/twisted/python/context.py", 
line 37, in callWithContext

  File "home/zenoss/instances/zenoss/lib/python/twisted/conch/ssh/service.py", 
line 42, in packetReceived

  File "/home/zenoss/instances/zenoss/Products/DataCollector/SshClient.py", 
line 393, in ssh_CHANNEL_OPEN_FAILURE
    connection.SSHConnection.ssh_CHANNEL_OPEN_FAILURE( self, packet )
  File 
"home/zenoss/instances/zenoss/lib/python/twisted/conch/ssh/connection.py", line 
115, in ssh_CHANNEL_OPEN_FAILURE

--- <exception caught here> ---
  File "home/zenoss/instances/zenoss/lib/python/twisted/python/log.py", line 
48, in callWithLogger

  File "home/zenoss/instances/zenoss/lib/python/twisted/python/log.py", line 
33, in callWithContext

  File "home/zenoss/instances/zenoss/lib/python/twisted/python/context.py", 
line 59, in callWithContext

  File "home/zenoss/instances/zenoss/lib/python/twisted/python/context.py", 
line 37, in callWithContext

  File "/home/zenoss/instances/zenoss/Products/DataCollector/SshClient.py", 
line 492, in openFailed
    message= 'Open of %s failed (error code %d): %s' % \
exceptions.AttributeError: ConchError instance has no attribute 'code'





On the monitored remote host, sshd logs an error: "no more sessions".

Code:

Feb  1 22:22:37 taxco sshd[27932]: debug1: input_session_request
Feb  1 22:22:37 taxco sshd[27932]: debug1: channel 9: new [server-session]
Feb  1 22:22:37 taxco sshd[27932]: debug1: session_new: session 9
Feb  1 22:22:37 taxco sshd[27932]: debug1: session_open: channel 9
Feb  1 22:22:37 taxco sshd[27932]: debug1: session_open: session 9: link with 
channel 9
Feb  1 22:22:37 taxco sshd[27932]: debug1: server_input_channel_open: confirm 
session
Feb  1 22:22:37 taxco sshd[27932]: debug1: server_input_channel_open: ctype 
session rchan 10 win 131072 max 32768
Feb  1 22:22:37 taxco sshd[27932]: debug1: input_session_request
Feb  1 22:22:37 taxco sshd[27932]: debug1: channel 10: new [server-session]
Feb  1 22:22:37 taxco sshd[27932]: debug1: session_open: channel 10
Feb  1 22:22:37 taxco sshd[27932]: error: no more sessions
Feb  1 22:22:37 taxco sshd[27932]: debug1: session open failed, free channel 10
Feb  1 22:22:37 taxco sshd[27932]: debug1: channel 10: free: server-session, 
nchannels 11
Feb  1 22:22:37 taxco sshd[27932]: debug1: server_input_channel_open: failure 
session




Obviously, Zenoss (or, rather, Twisted) runs each command in its own ssh 
session over the same ssh connection. Usually, ssh servers limit the number of 
concurrent sessions. This limit seems to be hardcoded (but not identical on all 
systems).

Is there a way to limit the number of sessions used by Zenoss?

Thanks for any pointers,
Ross




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

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

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



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

Reply via email to