<div dir="ltr"><span style="font-size:12.8000001907349px">Matt, thank you for the answer!</span><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Regards,</span></div><div><span style="font-size:12.8000001907349px">Yaroslav Lobankov.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 28, 2015 at 6:00 PM, Matthew Treinish <span dir="ltr"><<a href="mailto:mtreinish@kortar.org" target="_blank">mtreinish@kortar.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Apr 28, 2015 at 02:21:27PM +0300, Yaroslav Lobankov wrote:<br>
> Guys, thank you for answers!<br>
><br>
> Then I have one more question :) How do scenario tests (that establish SSH<br>
> connection to instances) work?<br>
><br>
<br>
</span>So the scenario tests don't use the run_ssh flag, they just ssh in to servers<br>
when they need to regardless of the value of that config option. (as do any<br>
tests which are currently using ssh in the gate)<br>
<br>
That's actually part of what the BP that Joseph pointed out is trying to<br>
address. The run_ssh option is currently kind of a mess, it's not globally<br>
respected, and things that do rely on it are probably broken, because as<br>
Salvatore said we skip those in the gate.<br>
<br>
Reading the spec for that BP will provide some good background here:<br>
<br>
<a href="http://specs.openstack.org/openstack/qa-specs/specs/ssh-auth-strategy.html" target="_blank">http://specs.openstack.org/openstack/qa-specs/specs/ssh-auth-strategy.html</a><br>
<br>
-Matt Treinish<br>
<span class=""><br>
><br>
> On Tue, Apr 28, 2015 at 12:27 PM, Lanoux, Joseph <<a href="mailto:joseph.lanoux@hp.com">joseph.lanoux@hp.com</a>><br>
> wrote:<br>
><br>
> >  Hi,<br>
> ><br>
> ><br>
> ><br>
> > Actually, ssh connection is not yet implemented in Tempest. We’re<br>
> > currently working on it [1].<br>
> ><br>
> ><br>
> ><br>
> > Joseph<br>
> ><br>
> ><br>
> ><br>
> > [1]<br>
> > <a href="https://review.openstack.org/#/q/status:open+project:openstack/tempest+branch:master+topic:bp/ssh-auth-strategy,n,z" target="_blank">https://review.openstack.org/#/q/status:open+project:openstack/tempest+branch:master+topic:bp/ssh-auth-strategy,n,z</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
</span>> > *From:* Salvatore Orlando [mailto:<a href="mailto:sorlando@nicira.com">sorlando@nicira.com</a>]<br>
> > *Sent:* 28 April 2015 10:16<br>
> > *To:* OpenStack Development Mailing List (not for usage questions)<br>
> > *Subject:* Re: [openstack-dev] [QA] Question about tempest API tests that<br>
<div class="HOEnZb"><div class="h5">> > establish SSH connection to instances<br>
> ><br>
> ><br>
> ><br>
> > At a first glance it seems run_ssh is disabled in gate tests [1]. I could<br>
> > not find any nova job where it is enabled.<br>
> ><br>
> > These tests are therefore skipped. For what is worth they might be broken<br>
> > now. Sharing a traceback or filing a bug might help.<br>
> ><br>
> ><br>
> ><br>
> > Salvatore<br>
> ><br>
> ><br>
> ><br>
> > [1]<br>
> > <a href="http://logs.openstack.org/81/159481/2/check/check-tempest-dsvm-neutron-full/85e039c/logs/testr_results.html.gz" target="_blank">http://logs.openstack.org/81/159481/2/check/check-tempest-dsvm-neutron-full/85e039c/logs/testr_results.html.gz</a><br>
> ><br>
> ><br>
> ><br>
> > On 28 April 2015 at 10:26, Yaroslav Lobankov <<a href="mailto:ylobankov@mirantis.com">ylobankov@mirantis.com</a>><br>
> > wrote:<br>
> ><br>
> >  Hi everyone,<br>
> ><br>
> ><br>
> ><br>
> > I have a question about tempest tests that are related to instance<br>
> > validation. Some of these tests are<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > tempest.api.compute.servers.test_create_server.ServersTestJSON.test_host_name_is_same_as_server_name[gate,id-ac1ad47f-984b-4441-9274-c9079b7a0666]<br>
> ><br>
> ><br>
> > tempest.api.compute.servers.test_create_server.ServersTestJSON.test_verify_created_server_vcpus[gate,id-cbc0f52f-05aa-492b-bdc1-84b575ca294b]<br>
> ><br>
> ><br>
> > tempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_host_name_is_same_as_server_name[gate,id-ac1ad47f-984b-4441-9274-c9079b7a0666]<br>
> ><br>
> ><br>
> > tempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_verify_created_server_vcpus[gate,id-cbc0f52f-05aa-492b-bdc1-84b575ca294b]<br>
> ><br>
> ><br>
> ><br>
> > To enable these tests I should set the config option "run_ssh" to True.<br>
> > When I set the option to true and ran the tests, all the tests failed. It<br>
> > looks like ssh code in API tests doesn't work.<br>
> ><br>
> > Maybe I am wrong. The question is the following: which of tempest jobs<br>
> > runs these tests?  Maybe I have tempest misconfiguration.<br>
> ><br>
> ><br>
> ><br>
> > Regards,<br>
> ><br>
> > Yaroslav Lobankov.<br>
> ><br>
> ><br>
> > __________________________________________________________________________<br>
> > OpenStack Development Mailing List (not for usage questions)<br>
> > Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> ><br>
> ><br>
> ><br>
> > __________________________________________________________________________<br>
> > OpenStack Development Mailing List (not for usage questions)<br>
> > Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> ><br>
> ><br>
<br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
</div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>