<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 05/20/2014 11:56 PM, Sabeen Syed
      wrote:<br>
    </div>
    <blockquote cite="mid:CFA12BC2.445C3%25sabeen.syed@rackspace.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div>Hi All,</div>
      <div><br>
      </div>
      <div>I'm trying to run a tempest test but I get this error:</div>
      <div><br>
      </div>
      <div>*** NoSuchOptError: no such option: IMAGE_ID</div>
    </blockquote>
    You have not provided a valid etc/tempest.conf file. IMAGE_ID is a
    default value which means nothing. Tempest expects this to be
    replaced with the id of an image that will be used in the tests. You
    can see the default in etc/tempest.conf.sample.<br>
    <br>
     -David<br>
    <blockquote cite="mid:CFA12BC2.445C3%25sabeen.syed@rackspace.com"
      type="cite">
      <div><br>
      </div>
      <div>Here is the stack trace:</div>
      <div>
        <div>======================================================================</div>
        <div>ERROR: test suite for <class
          'tempest.api.orchestration.stacks.test_stacks.StacksTestJSON'></div>
        <div>----------------------------------------------------------------------</div>
        <div>Traceback (most recent call last):</div>
        <div>  File
          "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py",
          line 208, in run</div>
        <div>    self.setUp()</div>
        <div>  File
          "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py",
          line 291, in setUp</div>
        <div>    self.setupContext(ancestor)</div>
        <div>  File
          "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py",
          line 314, in setupContext</div>
        <div>    try_run(context, names)</div>
        <div>  File
          "/Library/Python/2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py",
          line 469, in try_run</div>
        <div>    return func()</div>
        <div>  File
          "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/api/orchestration/stacks/test_stacks.py",
          line 27, in setUpClass</div>
        <div>    super(StacksTestJSON, cls).setUpClass()</div>
        <div>  File
          "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/api/orchestration/base.py",
          line 33, in setUpClass</div>
        <div>    cls.os = clients.Manager()</div>
        <div>  File
          "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/clients.py",
          line 207, in __init__</div>
        <div>    super(Manager, self).__init__(credentials=credentials)</div>
        <div>  File
          "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/manager.py",
          line 40, in __init__</div>
        <div>    self.auth_version = CONF.identity.auth_version</div>
        <div>  File
          "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/config.py",
          line 1072, in __getattr__</div>
        <div>    return getattr(self._config, attr)</div>
        <div>  File
          "/Users/sabe6191/Documents/workspace/tempest-openstack/tempest/config.py",
          line 1064, in __init__</div>
        <div>  File
          "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line
          1921, in log_opt_values</div>
        <div>    _sanitize(opt, getattr(group_attr, opt_name)))</div>
        <div>  File
          "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line
          2226, in __getattr__</div>
        <div>    return self._conf._get(name, self._group)</div>
        <div>  File
          "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line
          1964, in _get</div>
        <div>    value = self._do_get(name, group, namespace)</div>
        <div>  File
          "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line
          2019, in _do_get</div>
        <div>    return convert(opt.default)</div>
        <div>  File
          "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line
          1995, in convert</div>
        <div>    return self._convert_value(self._substitute(value,
          namespace), opt)</div>
        <div>  File
          "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line
          2044, in _substitute</div>
        <div>    self.StrSubWrapper(self, namespace=namespace))</div>
        <div>  File
          "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/string.py",
          line 205, in safe_substitute</div>
        <div>    return self.pattern.sub(convert, self.template)</div>
        <div>  File
          "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/string.py",
          line 190, in convert</div>
        <div>    return '%s' % (mapping[named],)</div>
        <div>  File
          "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line
          2301, in __getitem__</div>
        <div>    value = self.conf._get(key, namespace=self.namespace)</div>
        <div>  File
          "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line
          1964, in _get</div>
        <div>    value = self._do_get(name, group, namespace)</div>
        <div>  File
          "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line
          1982, in _do_get</div>
        <div>    info = self._get_opt_info(name, group)</div>
        <div>  File
          "/Library/Python/2.7/site-packages/oslo/config/cfg.py", line
          2106, in _get_opt_info</div>
        <div>    raise NoSuchOptError(opt_name, group)</div>
        <div>NoSuchOptError: no such option: IMAGE_ID</div>
      </div>
      <div><br>
      </div>
      <div>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}.</div>
      <div><br>
      </div>
      <div>Has anyone come across this issue or know how to fix it?</div>
      <div><br>
      </div>
      <div>Thanks!</div>
      <div>Sabeen</div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
openstack-qa mailing list
<a class="moz-txt-link-abbreviated" href="mailto:openstack-qa@lists.openstack.org">openstack-qa@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-qa">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-qa</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>