SSH connection error 'Administratively prohibited'

Bug #1533191 reported by Valeriy Ponomaryov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Invalid
Low
Unassigned

Bug Description

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.

description: updated
tags: added: driver generic
Changed in manila:
milestone: none → newton-1
Changed in manila:
importance: Undecided → Low
Tom Barron (tpb)
tags: added: tempest
Changed in manila:
milestone: newton-1 → none
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

We no longer use the generic driver to test python-manilaclient. I don't see any user reports of this bug, so I'm marking this bug invalid.

Changed in manila:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.