Re: [openstack-dev] [Rally] Tempest + Rally: first success
Thanks for traceback. I reported a bug on launchpad[1] based on your logs. Below you can find several possible solutions at the moment: 1) Wait for bug-fix 2) Create neutron subnet manually(some tutorials: [2], [3]) 3) Copy existing Tempest configuration file into Rally(Rally stores Tempest configuration file in ~./rally/tempest/for-deployment-deployment-uuid/tempest.conf) [1] - https://bugs.launchpad.net/rally/+bug/1326297 [2] - http://docs.openstack.org/icehouse/install-guide/install/apt/content/neutron_initial-external-network.html [3] - http://docs.openstack.org/admin-guide-cloud/content/advanced_networking.html On Wed, Jun 4, 2014 at 12:16 AM, om prakash pandey pande...@gmail.com wrote: Thanks Andrey! Please see below the logs(Environment specific output has been snipped): 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 2014-06-04 02:32:07.363 1939 INFO rally.orchestrator.api [-] Starting verification of deployment: 9c023039-211e-4794-84df-4ada68c656dd 2014-06-04 02:32:07.378 1939 INFO rally.verification.verifiers.tempest.tempest [-] Verification d596caf4-feb7-455c-832e-b6b77b1dcb9c | Starting: Run verification. 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 2014-06-04 02:32:07.379 1939 INFO rally.verification.verifiers.tempest.tempest [-] Starting: Creation of configuration file for tempest. 2014-06-04 02:32:07.385 1939 DEBUG keystoneclient.session [-] REQ: curl -i -X POST --- 2014-06-04 02:32:09.003 1939 DEBUG glanceclient.common.http [-] HTTP/1.1 200 OK content-length: 9276 via: 1.1 xyzcloud.com server: Apache/2.4.9 (Ubuntu) connection: close date: Tue, 03 Jun 2014 21:02:08 GMT content-type: application/json; charset=UTF-8 x-openstack-request-id: req-5fe73b11-85c7-49b7-bf31-34a44ceaaf6b 2014-06-04 02:32:13.399 1939 DEBUG neutronclient.client [-] REQ: curl -i https://xyzcloud.com:443//v2.0/subnets.json?network_id=13d63b58-57c9-4ba2-ae63-733836257636 -X GET -H X-Auth-Token: bc604fb2a258429f99ed8940064fb1cb -H Content-Type: application/json -H Accept: application/json -H User-Agent: python-neutronclient http_log_req /usr/local/lib/python2.7/dist-packages/neutronclient/common/utils.py:173 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': ' https://xyzcloud.com:443//v2.0/subnets.json?network_id=13d63b58-57c9-4ba2-ae63-733836257636'} {subnets: []} http_log_resp /usr/local/lib/python2.7/dist-packages/neutronclient/common/utils.py:179 2014-06-04 02:32:14.071 1939 CRITICAL rally [-] IndexError: list index out of range 2014-06-04 02:32:14.071 1939 TRACE rally Traceback (most recent call last): 2014-06-04 02:32:14.071 1939 TRACE rally File /usr/local/bin/rally, line 10, in module 2014-06-04 02:32:14.071 1939 TRACE rally sys.exit(main()) 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 2014-06-04 02:32:14.071 1939 TRACE rally return cliutils.run(sys.argv, categories) 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 2014-06-04 02:32:14.071 1939 TRACE rally ret = fn(*fn_args, **fn_kwargs) 2014-06-04 02:32:14.071 1939 TRACE rally File string, line 2, in start 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 2014-06-04 02:32:14.071 1939 TRACE rally return f(*args, **kwargs) 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 2014-06-04 02:32:14.071 1939 TRACE rally api.verify(deploy_id, set_name, regex) 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 2014-06-04 02:32:14.071 1939 TRACE rally verifier.verify(set_name=set_name, regex=regex) 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 2014-06-04 02:32:14.071 1939 TRACE rally self._prepare_and_run(set_name, regex) 2014-06-04 02:32:14.071 1939 TRACE rally File
Re: [openstack-dev] [Rally] Tempest + Rally: first success
Hi Andrey, Thanks a ton for putting together this blog on using tempest + rally. I followed all the steps listed and managed to get tempest successfully installed. However, I was not able to proceed beyond and couldn't manage to run tempest even once. I am getting the below error: om@desktop2:~/rally$ rally verify start --set image Command failed, please check log for more info 2014-06-03 18:14:56.029 8331 CRITICAL rally [-] IndexError: list index out of range What did I mess up while following the blog? Regards Om On Sat, May 31, 2014 at 3:46 AM, Andrey Kurilin akuri...@mirantis.com wrote: Hi stackers, I would like to share with you great news. 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. More details about how to use Tempest in one click in my tutorial: http://www.mirantis.com/blog/rally-openstack-tempest-testing-made-simpler/ -- Best regards, Andrey Kurilin. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Rally] Tempest + Rally: first success
Hey, Om! Can you launch Rally in debug mode and share logs? rally -vd verify start --set image On Tue, Jun 3, 2014 at 3:49 PM, om prakash pandey pande...@gmail.com wrote: Hi Andrey, Thanks a ton for putting together this blog on using tempest + rally. I followed all the steps listed and managed to get tempest successfully installed. However, I was not able to proceed beyond and couldn't manage to run tempest even once. I am getting the below error: om@desktop2:~/rally$ rally verify start --set image Command failed, please check log for more info 2014-06-03 18:14:56.029 8331 CRITICAL rally [-] IndexError: list index out of range What did I mess up while following the blog? Regards Om On Sat, May 31, 2014 at 3:46 AM, Andrey Kurilin akuri...@mirantis.com wrote: Hi stackers, I would like to share with you great news. 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. More details about how to use Tempest in one click in my tutorial: http://www.mirantis.com/blog/rally-openstack-tempest-testing-made-simpler/ -- Best regards, Andrey Kurilin. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Best regards, Andrey Kurilin. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Rally] Tempest + Rally: first success
Thanks Andrey! Please see below the logs(Environment specific output has been snipped): 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 2014-06-04 02:32:07.363 1939 INFO rally.orchestrator.api [-] Starting verification of deployment: 9c023039-211e-4794-84df-4ada68c656dd 2014-06-04 02:32:07.378 1939 INFO rally.verification.verifiers.tempest.tempest [-] Verification d596caf4-feb7-455c-832e-b6b77b1dcb9c | Starting: Run verification. 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 2014-06-04 02:32:07.379 1939 INFO rally.verification.verifiers.tempest.tempest [-] Starting: Creation of configuration file for tempest. 2014-06-04 02:32:07.385 1939 DEBUG keystoneclient.session [-] REQ: curl -i -X POST --- 2014-06-04 02:32:09.003 1939 DEBUG glanceclient.common.http [-] HTTP/1.1 200 OK content-length: 9276 via: 1.1 xyzcloud.com server: Apache/2.4.9 (Ubuntu) connection: close date: Tue, 03 Jun 2014 21:02:08 GMT content-type: application/json; charset=UTF-8 x-openstack-request-id: req-5fe73b11-85c7-49b7-bf31-34a44ceaaf6b 2014-06-04 02:32:13.399 1939 DEBUG neutronclient.client [-] REQ: curl -i https://xyzcloud.com:443//v2.0/subnets.json?network_id=13d63b58-57c9-4ba2-ae63-733836257636 -X GET -H X-Auth-Token: bc604fb2a258429f99ed8940064fb1cb -H Content-Type: application/json -H Accept: application/json -H User-Agent: python-neutronclient http_log_req /usr/local/lib/python2.7/dist-packages/neutronclient/common/utils.py:173 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': ' https://xyzcloud.com:443//v2.0/subnets.json?network_id=13d63b58-57c9-4ba2-ae63-733836257636'} {subnets: []} http_log_resp /usr/local/lib/python2.7/dist-packages/neutronclient/common/utils.py:179 2014-06-04 02:32:14.071 1939 CRITICAL rally [-] IndexError: list index out of range 2014-06-04 02:32:14.071 1939 TRACE rally Traceback (most recent call last): 2014-06-04 02:32:14.071 1939 TRACE rally File /usr/local/bin/rally, line 10, in module 2014-06-04 02:32:14.071 1939 TRACE rally sys.exit(main()) 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 2014-06-04 02:32:14.071 1939 TRACE rally return cliutils.run(sys.argv, categories) 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 2014-06-04 02:32:14.071 1939 TRACE rally ret = fn(*fn_args, **fn_kwargs) 2014-06-04 02:32:14.071 1939 TRACE rally File string, line 2, in start 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 2014-06-04 02:32:14.071 1939 TRACE rally return f(*args, **kwargs) 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 2014-06-04 02:32:14.071 1939 TRACE rally api.verify(deploy_id, set_name, regex) 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 2014-06-04 02:32:14.071 1939 TRACE rally verifier.verify(set_name=set_name, regex=regex) 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 2014-06-04 02:32:14.071 1939 TRACE rally self._prepare_and_run(set_name, regex) 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 2014-06-04 02:32:14.071 1939 TRACE rally result = f(self, *args, **kwargs) 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 2014-06-04 02:32:14.071 1939 TRACE rally self.generate_config_file() 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 2014-06-04 02:32:14.071 1939 TRACE rally conf = config.TempestConf(self.deploy_id).generate() 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
[openstack-dev] [Rally] Tempest + Rally: first success
Hi stackers, I would like to share with you great news. 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. More details about how to use Tempest in one click in my tutorial: http://www.mirantis.com/blog/rally-openstack-tempest-testing-made-simpler/ -- Best regards, Andrey Kurilin. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev