<div dir="ltr"><div><div><div><div>Thanks for traceback. I reported a bug on launchpad[1] based on your logs.<br></div><span id="result_box" class="" lang="en"><span class=""><br>Below you can find several possible solutions at the moment:</span><span class=""></span></span></div>
1) Wait for bug-fix<br></div>2) Create neutron subnet manually(some tutorials: [2], [3])<br></div>3) Copy <span id="result_box" class="" lang="en"><span class="">existing Tempest configuration file into Rally(Rally stores Tempest configuration file in ~./rally/tempest/for-deployment-<deployment-uuid>/tempest.conf)<br>
</span></span><div><div><div><div><div><br>[1] - <a href="https://bugs.launchpad.net/rally/+bug/1326297" target="_blank">https://bugs.launchpad.net/rally/+bug/1326297</a><br>[2] - <a href="http://docs.openstack.org/icehouse/install-guide/install/apt/content/neutron_initial-external-network.html">http://docs.openstack.org/icehouse/install-guide/install/apt/content/neutron_initial-external-network.html</a><br>
[3] - <a href="http://docs.openstack.org/admin-guide-cloud/content/advanced_networking.html">http://docs.openstack.org/admin-guide-cloud/content/advanced_networking.html</a><br></div></div></div></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jun 4, 2014 at 12:16 AM, om prakash pandey <span dir="ltr"><<a href="mailto:pandeyop@gmail.com" target="_blank">pandeyop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks Andrey! Please see below the logs(Environment specific output has been snipped):<div><br></div><div><div>2014-06-04 02:32:07.303 1939 DEBUG rally.cmd.cliutils [-] INFO logs from urllib3 and requests module are hide. run /usr/local/lib/python2.7/dist-packages/rally/cmd/cliutils.py:137</div>
<div>2014-06-04 02:32:07.363 1939 INFO rally.orchestrator.api [-] Starting verification of deployment: 9c023039-211e-4794-84df-4ada68c656dd</div><div>2014-06-04 02:32:07.378 1939 INFO rally.verification.verifiers.tempest.tempest [-] Verification d596caf4-feb7-455c-832e-b6b77b1dcb9c | Starting: Run verification.</div>
<div>2014-06-04 02:32:07.378 1939 DEBUG rally.verification.verifiers.tempest.tempest [-] Tempest config file: /home/om/.rally/tempest/for-deployment-9c023039-211e-4794-84df-4ada68c656dd/tempest.conf generate_config_file /usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/tempest.py:90</div>
<div>2014-06-04 02:32:07.379 1939 INFO rally.verification.verifiers.tempest.tempest [-] Starting: Creation of configuration file for tempest.</div><div>2014-06-04 02:32:07.385 1939 DEBUG keystoneclient.session [-] REQ: curl -i -X POST------------------------------------------------</div>
<div>-----------------------------------------------------------</div><div>2014-06-04 02:32:09.003 1939 DEBUG glanceclient.common.http [-]</div><div>HTTP/1.1 200 OK</div><div>content-length: 9276</div><div>via: 1.1 <a href="http://xyzcloud.com" target="_blank">xyzcloud.com</a></div>
<div>server: Apache/2.4.9 (Ubuntu)</div><div>connection: close</div><div>date: Tue, 03 Jun 2014 21:02:08 GMT</div><div>content-type: application/json; charset=UTF-8</div><div>x-openstack-request-id: req-5fe73b11-85c7-49b7-bf31-34a44ceaaf6b</div>
<div>--------------------------------------------------------------------------------------------------------------------</div><div>2014-06-04 02:32:13.399 1939 DEBUG neutronclient.client [-]</div><div>REQ: curl -i <a href="https://xyzcloud.com:443//v2.0/subnets.json?network_id=13d63b58-57c9-4ba2-ae63-733836257636" target="_blank">https://xyzcloud.com:443//v2.0/subnets.json?network_id=13d63b58-57c9-4ba2-ae63-733836257636</a> -X GET -H "X-Auth-Token: bc604fb2a258429f99ed8940064fb1cb" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"</div>
<div> http_log_req /usr/local/lib/python2.7/dist-packages/neutronclient/common/utils.py:173</div><div>2014-06-04 02:32:14.068 1939 DEBUG neutronclient.client [-] RESP:{'date': 'Tue, 03 Jun 2014 21:02:14 GMT', 'status': '200', 'content-length': '15', 'content-type': 'application/json; charset=UTF-8', 'content-location': '<a href="https://xyzcloud.com:443//v2.0/subnets.json?network_id=13d63b58-57c9-4ba2-ae63-733836257636" target="_blank">https://xyzcloud.com:443//v2.0/subnets.json?network_id=13d63b58-57c9-4ba2-ae63-733836257636</a>'} {"subnets": []}</div>
<div> http_log_resp /usr/local/lib/python2.7/dist-packages/neutronclient/common/utils.py:179</div><div>2014-06-04 02:32:14.071 1939 CRITICAL rally [-] IndexError: list index out of range</div><div>2014-06-04 02:32:14.071 1939 TRACE rally Traceback (most recent call last):</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/bin/rally", line 10, in <module></div><div>2014-06-04 02:32:14.071 1939 TRACE rally sys.exit(main())</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/cmd/main.py", line 44, in main</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally return cliutils.run(sys.argv, categories)</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/cmd/cliutils.py", line 193, in run</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally ret = fn(*fn_args, **fn_kwargs)</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "<string>", line 2, in start</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/cmd/envutils.py", line 63, in default_from_global</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally return f(*args, **kwargs)</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/cmd/commands/verify.py", line 58, in start</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally api.verify(deploy_id, set_name, regex)</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/orchestrator/api.py", line 150, in verify</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally verifier.verify(set_name=set_name, regex=regex)</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/tempest.py", line 271, in verify</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally self._prepare_and_run(set_name, regex)</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/utils.py", line 162, in wrapper</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally result = f(self, *args, **kwargs)</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/tempest.py", line 153, in _prepare_and_run</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally self.generate_config_file()</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/tempest.py", line 95, in generate_config_file</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally conf = config.TempestConf(self.deploy_id).generate()</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/config.py", line 220, in generate</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally self._set_network()</div><div>2014-06-04 02:32:14.071 1939 TRACE rally File "/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/config.py", line 191, in _set_network</div>
<div>2014-06-04 02:32:14.071 1939 TRACE rally subnet = neutron.list_subnets(network_id=net_id)['subnets'][0]</div><div>2014-06-04 02:32:14.071 1939 TRACE rally IndexError: list index out of range</div><div>2014-06-04 02:32:14.071 1939 TRACE rally</div>
<div class="">
<div>Command failed, please check log for more info</div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 7:09 PM, Andrey Kurilin <span dir="ltr"><<a href="mailto:akurilin@mirantis.com" target="_blank">akurilin@mirantis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hey, Om!<br></div>Can you launch Rally in debug mode and share logs?<br>> rally -vd verify start --set image<br>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 3:49 PM, om prakash pandey <span dir="ltr"><<a href="mailto:pandeyop@gmail.com" target="_blank">pandeyop@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andrey,<div><br></div><div>Thanks a ton for putting together this blog on using tempest + rally. </div>
<div><br></div><div>I followed all the steps listed and managed to get tempest successfully installed. </div>
<div><br></div><div>However, I was not able to proceed beyond and couldn't manage to run tempest even once. I am getting the below error:</div><div><br></div><div><div>om@desktop2:~/rally$ rally verify start --set image</div>
<div>Command failed, please check log for more info</div><div>2014-06-03 18:14:56.029 8331 CRITICAL rally [-] IndexError: list index out of range</div></div><div><br></div><div>What did I mess up while following the blog?</div>
<div><br></div><div>Regards</div><div>Om</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sat, May 31, 2014 at 3:46 AM, Andrey Kurilin <span dir="ltr"><<a href="mailto:akurilin@mirantis.com" target="_blank">akurilin@mirantis.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi stackers,
<br> <br>I would like to share with you great news.<br>We all know that it's quite hard to use Tempest out of gates, especially when you are going to benchmark different clouds, run just part of tests and would like to store somewhere results. As all this stuff doesn't belong to Tempest, we decided to make it in Rally.<br>
<br>More details about how to use Tempest in one click in my tutorial: <a href="http://www.mirantis.com/blog/rally-openstack-tempest-testing-made-simpler/" target="_blank">http://www.mirantis.com/blog/rally-openstack-tempest-testing-made-simpler/</a><span><font color="#888888"><br clear="all">
<br>-- <br><div dir="ltr">Best regards,<br>Andrey Kurilin.<br></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</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>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</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><br clear="all"><br>-- <br><div dir="ltr">Best regards,<br>Andrey Kurilin.<br></div>
</div>
</div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</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>
</div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</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><br clear="all"><br>-- <br><div dir="ltr">Best regards,<br>Andrey Kurilin.<br></div>
</div>