[openstack-qa] NoSuchOptError in Tempest
Sabeen Syed
sabeen.syed at RACKSPACE.COM
Tue May 20 20:56:51 UTC 2014
Hi All,
I'm trying to run a tempest test but I get this error:
*** NoSuchOptError: no such option: IMAGE_ID
Here is the stack trace:
======================================================================
ERROR: test suite for <class 'tempest.api.orchestration.stacks.test_stacks.StacksTestJSON'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 208, in run
self.setUp()
File "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 291, in setUp
self.setupContext(ancestor)
File "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 314, in setupContext
try_run(context, names)
File "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py", line 469, in try_run
return func()
File "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/api/orchestration/stacks/test_stacks.py", line 27, in setUpClass
super(StacksTestJSON, cls).setUpClass()
File "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/api/orchestration/base.py", line 33, in setUpClass
cls.os = clients.Manager()
File "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/clients.py", line 207, in __init__
super(Manager, self).__init__(credentials=credentials)
File "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/manager.py", line 40, in __init__
self.auth_version = CONF.identity.auth_version
File "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/config.py", line 1072, in __getattr__
return getattr(self._config, attr)
File "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/config.py", line 1064, in __init__
File "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line 1921, in log_opt_values
_sanitize(opt, getattr(group_attr, opt_name)))
File "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line 2226, in __getattr__
return self._conf._get(name, self._group)
File "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line 1964, in _get
value = self._do_get(name, group, namespace)
File "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line 2019, in _do_get
return convert(opt.default)
File "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line 1995, in convert
return self._convert_value(self._substitute(value, namespace), opt)
File "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line 2044, in _substitute
self.StrSubWrapper(self, namespace=namespace))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/string.py", line 205, in safe_substitute
return self.pattern.sub(convert, self.template)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/string.py", line 190, in convert
return '%s' % (mapping[named],)
File "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line 2301, in __getitem__
value = self.conf._get(key, namespace=self.namespace)
File "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line 1964, in _get
value = self._do_get(name, group, namespace)
File "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line 1982, in _do_get
info = self._get_opt_info(name, group)
File "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line 2106, in _get_opt_info
raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option: IMAGE_ID
It's logging the config file and when it goes through the compute section it seems like it doesn't like this part: image_ref={$IMAGE_ID}.
Has anyone come across this issue or know how to fix it?
Thanks!
Sabeen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-qa/attachments/20140520/be0a8389/attachment.html>
More information about the openstack-qa
mailing list