I investigated this issue and found still one place where timeout should be expanded.
It is hardcoded constant 'self.banner_timeout = 15' in /usr/local/lib/python2.7/dist-packages/paramiko/transport.py
I offer to increase this value or make it configurable.
Hi,
I investigated this issue and found still one place where timeout should be expanded. timeout = 15' in /usr/local/ lib/python2. 7/dist- packages/ paramiko/ transport. py
It is hardcoded constant 'self.banner_
I offer to increase this value or make it configurable.
Description: logs.openstack. org/84/ 58284/2/ check/check- tempest- devstack- vm-full/ a2ce10a/ testr_results. html.gz
As I see in logs http://
The message 'Error reading SSH protocol banner' indicates the main problem.
If we look at in the sources of 'paramiko' we can see that, before starting data exchange, the worker thread check banner.
Banner checking is performed by writing data to packetizer and then reading answer from it.
/usr/local/ lib/python2. 7/dist- packages/ paramiko/ transport. py
self. packetizer. write_all( self.local_ version + '\r\n')
self. _check_ banner( )
1530 def run(self):
...
...
where 'packetizer' is connection provider as I understood. banner( self): .readline( timeout) lure:
raise
raise SSHException('Error reading SSH protocol banner' + str(x))
1669 def _check_
...
timeout = self.banner_timeout
...
try:
buf = self.packetizer
except ProxyCommandFai
except Exception, x:
As we can see, initial value for timeout is 15 seconds, and it is too low for tempest.