[openstack-dev] [QA][Neutron] About paramiko's "SSHException: Error reading SSH protocol banner"
sorlando at nicira.com
Fri Dec 27 09:42:30 UTC 2013
The 'isolated' mode makes the tempest session more realistic by simulating
a cloud with multiple networks and ports. For Neutron tests this means
creating a new set of network resources for each test class. If creating
distinct network resources for each tenant is the root cause of this
problem, there is probably some underlying issue in neutron that needs to
I think there is a requirement to be able to run the test suite with 'full
tenant isolation' and 'parallel' execution.
On the other hand Toshihiro noted that SSH gets connected, and before
starting with the "protocol banner" errors, it even says that it tries to
authenticate, and the authentication fails. I don't know what to think
here. I only have two hints:
1 - The SSH connection attempt starts before the VM and the floating IPs
are wired by the agent. Paramiko has to wait more than a minute for a
response to come from the server. Could this cause the library to fail? Can
we try to ping and then SSH once the ping succeeds as
2 - Is there a chance that key management might be flaky when running
parallel tests? I don't think so because otherwise we should see failures
even with nova-network, and that does not happen.
On 27 December 2013 08:14, IWAMOTO Toshihiro <iwamoto at valinux.co.jp> wrote:
> At Fri, 27 Dec 2013 01:53:59 +0100,
> Salvatore Orlando wrote:
> > [1 <multipart/alternative (7bit)>]
> > [1.1 <text/plain; ISO-8859-1 (7bit)>]
> > I put together all the patches which we prepared for making parallel
> > testing work, and ran a few times 'check experimental' on the gate to see
> > whether it worked or not.
> > With parallel testing, the only really troubling issue are the scenario
> > tests which require to access a VM from a floating IP, and the new
> > we've squashed together in  should address this issue. However, the
> > result is that timeouts are still observed but with a different message
> > I'm not really familiar with it, and I've never observed it in local
> > testing. I wonder if it just happens to be the usual problem about the
> > target host not being reachable, or if it is something specific to
> > Any hint would be appreciated, since from the logs is appears everything
> > wired properly.
> It seems that a TCP connection has been established but paramiko
> failed get data from the server in time. Does increasing paramiko
> timeout help?
> >  https://review.openstack.org/#/c/57420/
> > 
> > [1.2 <text/html; ISO-8859-1 (quoted-printable)>]
> > [2 <text/plain; us-ascii (7bit)>]
> > _______________________________________________
> > OpenStack-dev mailing list
> > OpenStack-dev at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev