Comment 0 for bug 1533191

Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Error of SSH connection appears in gates too often with following trace:

paste: http://paste.openstack.org/show/483553/

logs: http://logs.openstack.org/50/258950/2/check/gate-manilaclient-dsvm-neutron-functional/cacb4e4/logs/screen-m-shr.txt.gz?level=TRACE#_2016-01-12_12_33_12_258

bare:

 Traceback (most recent call last):
   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 143, in _dispatch_and_reply
     executor_callback))
   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 189, in _dispatch
     executor_callback)
   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
     result = func(ctxt, **new_args)
   File "/opt/stack/new/manila/manila/share/manager.py", line 113, in wrapped
     return f(self, *args, **kwargs)
   File "/opt/stack/new/manila/manila/utils.py", line 614, in wrapper
     return func(self, *args, **kwargs)
   File "/opt/stack/new/manila/manila/share/manager.py", line 1107, in allow_access
     context, access_mapping['id'], access_mapping.STATE_ERROR)
   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in __exit__
     six.reraise(self.type_, self.value, self.tb)
   File "/opt/stack/new/manila/manila/share/manager.py", line 1101, in allow_access
     share_server=share_server)
   File "/opt/stack/new/manila/manila/share/drivers/generic.py", line 122, in wrap
     return f(self, context, *args, **kwargs)
   File "/opt/stack/new/manila/manila/share/drivers/generic.py", line 804, in allow_access
     access['access_type'], access['access_level'], access['access_to'])
   File "/opt/stack/new/manila/manila/share/drivers/generic.py", line 1389, in allow_access
     self._set_allow_hosts(server, hosts, share_name)
   File "/opt/stack/new/manila/manila/share/drivers/generic.py", line 1415, in _set_allow_hosts
     '\"hosts allow\"', value])
   File "/opt/stack/new/manila/manila/share/drivers/generic.py", line 168, in _ssh_exec
     return processutils.ssh_execute(ssh, ' '.join(command))
   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 407, in ssh_execute
     stdin_stream, stdout_stream, stderr_stream = ssh.exec_command(cmd)
   File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 401, in exec_command
     chan = self._transport.open_session(timeout=timeout)
   File "/usr/local/lib/python2.7/dist-packages/paramiko/transport.py", line 702, in open_session
     timeout=timeout)
   File "/usr/local/lib/python2.7/dist-packages/paramiko/transport.py", line 834, in open_channel
     raise e
 ChannelException: (1, 'Administratively prohibited')

Possible cause - exceedance of allowed amount of simultaneous SSH connections.