<div dir="ltr">Hi Daisuke,<div><br></div><div>have you executed as well</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><i> $ rally-manage db recreate</i></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">as Boris pointed out in the previous letter?</span><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font color="#666666">Best regards,</font><div><font color="#666666">Mikhail Dubov</font></div><div><font color="#666666"><br></font></div><div><font color="#666666">Community</font></div><div><font color="#666666">Mirantis, Inc.</font></div><div><font color="#666666">E-Mail: <a href="mailto:mdubov@mirantis.com" target="_blank">mdubov@mirantis.com</a></font></div><div><font color="#666666">Skype: msdubov</font></div></div></div>
<br><div class="gmail_quote">On Mon, Sep 8, 2014 at 3:46 PM, Daisuke Morita <span dir="ltr"><<a href="mailto:morita.daisuke@lab.ntt.co.jp" target="_blank">morita.daisuke@lab.ntt.co.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Mikhail,<br>
<br>
Thanks for your quick reply. I have already added cloud by using json format. Just to be safe, I retried to create deployment by following "How to", but the same error is shown now.<br>
<br>
<br>
My existing.json is as follows. Is there anything wrong?<br>
<br>
<br>
{<br>
"type": "ExistingCloud",<br>
"auth_url": "<a href="http://127.0.0.1:5000/v2.0/" target="_blank">http://127.0.0.1:5000/v2.0/</a>",<br>
"admin": {<br>
"username": "admin",<br>
"password": "pass",<br>
"tenant_name": "admin"<br>
}<br>
}<br>
<br>
<br>
<br>
Best regards,<br>
Daisuke<span class=""><br>
<br>
On 2014/09/08 20:24, Mikhail Dubov wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi Daisuke,<br>
<br>
seems like your issue is connected to the change in the deployment<br>
configuration file format for existing clouds we've merged<br></span>
<<a href="https://review.openstack.org/#/c/116766/" target="_blank">https://review.openstack.org/<u></u>#/c/116766/</a>> recently.<span class=""><br>
<br>
Please see the updated Wiki "How to" page<br></span>
<<a href="https://wiki.openstack.org/wiki/Rally/HowTo#Step_1._Deployment_initialization_.28use_existing_cloud.29" target="_blank">https://wiki.openstack.org/<u></u>wiki/Rally/HowTo#Step_1._<u></u>Deployment_initialization_.<u></u>28use_existing_cloud.29</a>> that<span class=""><br>
describes the new format. In your case, you can just update the<br></span>
deployment configuration file and run again /"rally deployment create"/.<span class=""><br>
Everything should work then.<br>
<br>
<br>
<br>
Best regards,<br>
Mikhail Dubov<br>
<br>
Mirantis, Inc.<br></span>
E-Mail: <a href="mailto:mdubov@mirantis.com" target="_blank">mdubov@mirantis.com</a> <mailto:<a href="mailto:mdubov@mirantis.com" target="_blank">mdubov@mirantis.com</a>><span class=""><br>
Skype: msdubov<br>
<br>
On Mon, Sep 8, 2014 at 3:16 PM, Daisuke Morita<br></span><div><div class="h5">
<<a href="mailto:morita.daisuke@lab.ntt.co.jp" target="_blank">morita.daisuke@lab.ntt.co.jp</a> <mailto:<a href="mailto:morita.daisuke@lab.ntt.co.jp" target="_blank">morita.daisuke@lab.<u></u>ntt.co.jp</a>>> wrote:<br>
<br>
<br>
Hi, rally developers!<br>
<br>
Now, I am trying to use Rally to devstack cluster on AWS VM<br>
(all-in-one). I'm following a blog post<br>
<a href="https://www.mirantis.com/blog/rally-openstack-tempest-testing-made-simpler/" target="_blank">https://www.mirantis.com/blog/<u></u>rally-openstack-tempest-<u></u>testing-made-simpler/</a><br>
. I successfully installed Devstack, Rally and Tempest. Now, I just ran<br>
Tempest by 'rally verify start' command, but the command failed with the<br>
following stacktrace.<br>
<br>
<br>
2014-09-08 10:57:57.803 17176 CRITICAL rally [-] KeyError: 'admin'<br>
2014-09-08 10:57:57.803 17176 TRACE rally Traceback (most recent<br>
call last):<br>
2014-09-08 10:57:57.803 17176 TRACE rally File "/usr/local/bin/rally",<br>
line 10, in <module><br>
2014-09-08 10:57:57.803 17176 TRACE rally sys.exit(main())<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/cmd/main.<u></u>py", line 40,<br>
in main<br>
2014-09-08 10:57:57.803 17176 TRACE rally return<br>
cliutils.run(sys.argv, categories)<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/cmd/<u></u>cliutils.py", line<br>
184, in run<br>
2014-09-08 10:57:57.803 17176 TRACE rally ret = fn(*fn_args,<br>
**fn_kwargs)<br>
2014-09-08 10:57:57.803 17176 TRACE rally File "<string>", line 2, in<br>
start<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/cmd/<u></u>envutils.py", line 64,<br>
in default_from_global<br>
2014-09-08 10:57:57.803 17176 TRACE rally return f(*args, **kwargs)<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/cmd/<u></u>commands/verify.py",<br>
line 59, in start<br>
2014-09-08 10:57:57.803 17176 TRACE rally api.verify(deploy_id,<br>
set_name, regex)<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/<u></u>orchestrator/api.py", line<br>
153, in verify<br>
2014-09-08 10:57:57.803 17176 TRACE rally<br>
verifier.verify(set_name=set_<u></u>name, regex=regex)<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/<u></u>verification/verifiers/<u></u>tempest/tempest.py",<br>
line 247, in verify<br>
2014-09-08 10:57:57.803 17176 TRACE rally<br>
self._prepare_and_run(set_<u></u>name, regex)<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/utils.py", line 165, in<br>
wrapper<br>
2014-09-08 10:57:57.803 17176 TRACE rally result = f(self, *args,<br>
**kwargs)<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/<u></u>verification/verifiers/<u></u>tempest/tempest.py",<br>
line 146, in _prepare_and_run<br>
2014-09-08 10:57:57.803 17176 TRACE rally<br>
self.generate_config_file()<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/<u></u>verification/verifiers/<u></u>tempest/tempest.py",<br>
line 89, in generate_config_file<br>
2014-09-08 10:57:57.803 17176 TRACE rally<br>
config.TempestConf(self.<u></u>deploy_id).generate(self.<u></u>config_file)<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/<u></u>verification/verifiers/<u></u>tempest/config.py",<br>
line 242, in generate<br>
2014-09-08 10:57:57.803 17176 TRACE rally func()<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/<u></u>verification/verifiers/<u></u>tempest/config.py",<br>
line 115, in _set_boto<br>
2014-09-08 10:57:57.803 17176 TRACE rally<br>
self.conf.set(section_name, 'ec2_url', self._get_url('ec2'))<br>
2014-09-08 10:57:57.803 17176 TRACE rally File<br>
"/usr/local/lib/python2.7/<u></u>dist-packages/rally/<u></u>verification/verifiers/<u></u>tempest/config.py",<br>
line 105, in _get_url<br>
2014-09-08 10:57:57.803 17176 TRACE rally return<br>
service['admin']['publicURL']<br>
2014-09-08 10:57:57.803 17176 TRACE rally KeyError: 'admin'<br>
2014-09-08 10:57:57.803 17176 TRACE rally<br>
<br>
<br>
I tried to dig into the root cause of above error, but I did not have<br>
any idea where to look into. The most doubtful may be automatically<br>
generated configuration file, but I did not find anything odd.<br>
<br>
If possible, could you give me some hints on what to do?<br>
<br>
Sorry for bothering you. Thanks in advance.<br>
<br>
<br>
<br>
Best Regards,<br>
Daisuke<br>
<br>
--<br>
Daisuke Morita <<a href="mailto:morita.daisuke@lab.ntt.co.jp" target="_blank">morita.daisuke@lab.ntt.co.jp</a><br></div></div>
<mailto:<a href="mailto:morita.daisuke@lab.ntt.co.jp" target="_blank">morita.daisuke@lab.<u></u>ntt.co.jp</a>>><span class=""><br>
NTT Software Innovation Center, NTT Corporation<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br></span>
<mailto:<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.<u></u>openstack.org</a>><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><span class=""><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
-- <br>
Daisuke Morita <<a href="mailto:morita.daisuke@lab.ntt.co.jp" target="_blank">morita.daisuke@lab.ntt.co.jp</a>><br>
NTT Software Innovation Center, NTT Corporation<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</div></div></blockquote></div><br></div>