Hi, rally developers!

Now, I am trying to use Rally to devstack cluster on AWS VM
(all-in-one). I'm following a blog post
https://www.mirantis.com/blog/rally-openstack-tempest-testing-made-simpler/
. I successfully installed Devstack, Rally and Tempest. Now, I just ran
Tempest by 'rally verify start' command, but the command failed with the
following stacktrace.


2014-09-08 10:57:57.803 17176 CRITICAL rally [-] KeyError: 'admin'
2014-09-08 10:57:57.803 17176 TRACE rally Traceback (most recent call last):
2014-09-08 10:57:57.803 17176 TRACE rally   File "/usr/local/bin/rally",
line 10, in <module>
2014-09-08 10:57:57.803 17176 TRACE rally     sys.exit(main())
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/cmd/main.py", line 40, in main
2014-09-08 10:57:57.803 17176 TRACE rally     return
cliutils.run(sys.argv, categories)
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/cmd/cliutils.py", line
184, in run
2014-09-08 10:57:57.803 17176 TRACE rally     ret = fn(*fn_args,
**fn_kwargs)
2014-09-08 10:57:57.803 17176 TRACE rally   File "<string>", line 2, in
start
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/cmd/envutils.py", line 64,
in default_from_global
2014-09-08 10:57:57.803 17176 TRACE rally     return f(*args, **kwargs)
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/cmd/commands/verify.py",
line 59, in start
2014-09-08 10:57:57.803 17176 TRACE rally     api.verify(deploy_id,
set_name, regex)
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/orchestrator/api.py", line
153, in verify
2014-09-08 10:57:57.803 17176 TRACE rally
verifier.verify(set_name=set_name, regex=regex)
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/tempest.py",
line 247, in verify
2014-09-08 10:57:57.803 17176 TRACE rally
self._prepare_and_run(set_name, regex)
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/utils.py", line 165, in
wrapper
2014-09-08 10:57:57.803 17176 TRACE rally     result = f(self, *args,
**kwargs)
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/tempest.py",
line 146, in _prepare_and_run
2014-09-08 10:57:57.803 17176 TRACE rally     self.generate_config_file()
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/tempest.py",
line 89, in generate_config_file
2014-09-08 10:57:57.803 17176 TRACE rally
config.TempestConf(self.deploy_id).generate(self.config_file)
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/config.py",
line 242, in generate
2014-09-08 10:57:57.803 17176 TRACE rally     func()
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/config.py",
line 115, in _set_boto
2014-09-08 10:57:57.803 17176 TRACE rally
self.conf.set(section_name, 'ec2_url', self._get_url('ec2'))
2014-09-08 10:57:57.803 17176 TRACE rally   File
"/usr/local/lib/python2.7/dist-packages/rally/verification/verifiers/tempest/config.py",
line 105, in _get_url
2014-09-08 10:57:57.803 17176 TRACE rally     return
service['admin']['publicURL']
2014-09-08 10:57:57.803 17176 TRACE rally KeyError: 'admin'
2014-09-08 10:57:57.803 17176 TRACE rally


I tried to dig into the root cause of above error, but I did not have
any idea where to look into. The most doubtful may be automatically
generated configuration file, but I did not find anything odd.

If possible, could you give me some hints on what to do?

Sorry for bothering you. Thanks in advance.



Best Regards,
Daisuke

-- 
Daisuke Morita <morita.dais...@lab.ntt.co.jp>
NTT Software Innovation Center, NTT Corporation


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to