<div dir="ltr">Hello, everybody!<div><br></div><div>I have some problem with rally "boot_and_bounce_server" test specifically with "stop_start".</div><div><br></div><div>I ran stop_start test 3 times with 12 instances booted in 5 threads (used base_task.json file is attached).</div>

<div>Rally launches all 12 instances but with 2 of them there is a problem during stopping and starting process:</div><div><br></div><div><b>/var/log/nova/conductor.log</b> (on the controller node) has the error <b>"InstanceInvalidState: Instance 9a64bc68-bf14-4d8a-ac25-13d8c1f26513 in vm_state stopped. Cannot stop while the instance is in this state.</b>":</div>

<div><a href="http://paste.openstack.org/show/v5ahFwuqMjwOfViqmZ1G/" target="_blank">http://paste.openstack.org/show/v5ahFwuqMjwOfViqmZ1G/</a><br></div><div><br></div><div><b>rally output</b>: <a href="http://paste.openstack.org/show/rsOa0TFMQzqKUYeNczgf/" target="_blank">http://paste.openstack.org/show/rsOa0TFMQzqKUYeNczgf/</a></div>

<div>returns <b>"TimeoutException: Timeout exceeded."</b></div><div><br></div><div><b>/var/log/nova/compute.log</b> (on the compute node) has the error<b> "Timeout: Timeout while waiting on RPC response"</b>:<br>

</div><div><a href="http://paste.openstack.org/show/3W4moI1EaQybcOzYIgHJ/" target="_blank">http://paste.openstack.org/show/3W4moI1EaQybcOzYIgHJ/</a><br></div><div><div><br></div><div>These errors occur in the last iterations within booting of 2 last instances. 10 rest instances are stopped and started successfully.</div>

<div><br></div><div>It seems rally stops an instance after its launching, cannot stop it correctly in some defined time, wait some time and tries to stop this instance again. But the instance is still in shutoff status. That is why the first error occurs.</div>

<div>Shutoff status of 2 last instances is illustrated in the attached screenshot "shutoff_instances_horizon.png".</div><div><br></div><div><br></div><div><b>As I noticed</b> if run the same test but with smaller data, for example, boot 6 instances (in 3 threads) and stop/start them 3 times aforementioned errors don't occur.</div>

<div><br></div><div><br></div><div>Could you please give some clarity in such strange situation - is this a problem with test environment of with rally execution?</div><div>Great thanks in advance!</div><div><br></div>-- <br>
<div dir="ltr"><span>Best Regards,</span><br><span>Anastasiya Sklyankina,</span><div>Senior QA engineer,<br>
Mirantis, Inc</div><div>+7(927)22-90-300 (cell)</div><div>Skype: anastasiya_sklyankina</div><div>E-mail: <a href="mailto:asklyankina@mirantis.com" target="_blank">asklyankina@mirantis.com</a><br><a href="http://www.mirantis.ru/" target="_blank">www.mirantis.ru</a></div>

</div>
</div></div>