<br><br><div class="gmail_quote">On Wed, Mar 13, 2013 at 2:14 AM, Rami Vaknin <span dir="ltr"><<a href="mailto:rvaknin@redhat.com" target="_blank">rvaknin@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    On 03/12/2013 05:26 PM, Girija Sharan wrote:
    <blockquote type="cite">Hi,
      <div><br>
      </div>
      <div>Thanks again.</div>
      <div><br>
      </div>
      <div>I am getting this error whenever I
        ran *tempest-stable-folsom/tempest/tests/network tests.</div>
      <div><br>
      </div>
      <div>
        <div>======================================================================</div>
        <div>ERROR: test suite for <class
          'tempest.tests.network.test_networks.NetworksTest'></div>
        <div>----------------------------------------------------------------------</div>
        <div>Traceback (most recent call last):</div>
        <div>  File "/usr/lib/python2.7/dist-packages/nose/suite.py",
          line 208, in run</div>
        <div>    self.setUp()</div>
        <div>  File "/usr/lib/python2.7/dist-packages/nose/suite.py",
          line 291, in setUp</div>
        <div>
              self.setupContext(ancestor)</div>
        <div>  File "/usr/lib/python2.7/dist-packages/nose/suite.py",
          line 314, in setupContext</div>
        <div>    try_run(context, names)</div>
        <div>  File "/usr/lib/python2.7/dist-packages/nose/util.py",
          line 478, in try_run</div>
        <div>    return func()</div>
        <div>  File
          "/home/controller/tempest-stable-folsom/tempest/tests/network/test_networks.py",
          line 28, in setUpClass</div>
        <div>    super(NetworksTest, cls).setUpClass()</div>
        <div>  File
          "/home/controller/tempest-stable-folsom/tempest/tests/network/base.py",
          line 39, in setUpClass</div>
        <div>    client.list_networks()</div>
        <div>  File
          "/home/controller/tempest-stable-folsom/tempest/services/network/json/network_client.py",
          line 13, in list_networks</div>
        <div>    resp, body = self.get('networks')</div>
        <div>  File
          "/home/controller/tempest-stable-folsom/tempest/common/rest_client.py",
          line 166, in get</div>
        <div>    return self.request('GET', url, headers)</div>
        <div>  File
          "/home/controller/tempest-stable-folsom/tempest/common/rest_client.py",
          line 203, in request</div>
        <div>    raise exceptions.NotFound(resp_body)</div>
        <div>NotFound: Object not found</div>
        <div>Details: Object not found</div>
        <div>Details: 404 Not Found</div>
        <div><br>
        </div>
        <div>The resource could not be found.</div>
        <div><br>
        </div>
        <div>   </div>
        <div>-------------------- >> begin captured logging
          << --------------------</div>
        <div>tempest.config: INFO: Using tempest config file
          /home/controller/tempest-stable-folsom/etc/tempest.conf</div>
        <div>tempest.common.rest_client: ERROR: Request URL: <a href="http://192.168.2.170:9696/v2.0/tenants/09b32430cf8548ec8472d29a79fe2ddd/networks" target="_blank">http://192.168.2.170:9696/v2.0/tenants/09b32430cf8548ec8472d29a79fe2ddd/networks</a></div>

        <div>tempest.common.rest_client: ERROR: Request Body: None</div>
        <div>tempest.common.rest_client: ERROR: Response Headers:
          {'date': 'Tue, 12 Mar 2013 11:47:32 GMT', 'status': '404',
          'content-length': '52', 'content-type': 'text/plain;
          charset=UTF-8'}</div>
        <div>tempest.common.rest_client: ERROR: Response Body: 404 Not
          Found</div>
        <div><br>
        </div>
        <div>The resource could not be found.</div>
        <div><br>
        </div>
        <div>   </div>
        <div>--------------------- >> end captured logging
          << ---------------------</div>
        <div><br>
        </div>
        <div>----------------------------------------------------------------------</div>
        <div>Ran 0 tests in 0.186s</div>
        <div><br>
        </div>
        <div>FAILED (errors=1)</div>
        <div><br>
        </div>
        Please help me out.</div>
      <div><br>
      </div>
      <div>Thanks and Regards,</div>
      <div>Girija Sharan Singh</div>
      <div><br>
      </div>
      <div><br>
        <div class="gmail_quote">On Tue, Mar 12, 2013 at 8:50 PM, Jay
          Pipes <span dir="ltr"><<a href="mailto:jaypipes@gmail.com" target="_blank">jaypipes@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 03/12/2013 11:14 AM, Girija Sharan
            wrote:<br>
            > But the tests in
            *tempest-stable-folsom/tempest/tests/network *are not<br>
            <div>> running in Folsom with Quantum. All
              other tests are running fine.<br>
              > Someone said that this stable-folsom release of
              tempest is not for<br>
              > testing Quantum in Folsom.<br>
              > Is it true ? If yes then how do I test my Quantum in
              Folsom deployment<br>
              > using Tempest ?<br>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br></div></div>
    Regarding your question about tempest.conf, in order to work with
    Folsom OpenStack, you just need to make sure you have 2 non-admin
    users and tenants, 2 active images, then copy the
    etc/tempest.conf.sample to etc/tempest.conf and change the
    following:<br>
    uri<br>
    username, password, tenant_name<br>
    alt_username, alt_password, alt_tenant_name<br>
    admin_username, admin_password<br>
    image_ref, image_ref_alt<br>
    <br>
    It will work for most of the tests.<br>
    <br>
    If you're working with Quantum, catalog_type under "[network]"
    section should be set to "network", for nova-network you should
    *probably* set it to "compute".<br>
    <br></div></blockquote><div>Yes as you are saying I was having catalog_type under "[network]" section set to "network" only.</div><div>That means it should work for Quantum.</div><div>But I want to know whether it works for Quantum under Folsom release or not ?</div>
<div><br></div><div><br></div><div>Thanks and Regards,</div><div>Girija</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">

    Regarding the Quantum support in tempest - I'm not familiar with
    that (at least not yet, anyone else can help here?) but if you would
    like to perform the same operation in nova-network, networks list
    currently won't work since the JSON/XML clients (that should call to
    "os-networks" API entry point as described in
    <a href="http://api.openstack.org/api-ref.html" target="_blank">http://api.openstack.org/api-ref.html</a>) are not implemented - they
    return 404 page too, but in case it's implemented - I think the
    result you get in the above exception can also indicate that the
    tenant you refers to does not exist and should be configured in
    tempest.conf.<br>
    <br>
    <blockquote type="cite"><div class="im">
      <div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <br>
            </div>
            I'm sorry, I don't know how to answer your question without
            seeing the<br>
            errors you are getting when running Tempest.<br>
            <span><font color="#888888"><br>
                -jay<br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div><div class="im"><pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
    </div></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <br>
    <pre cols="72">-- 

Thanks,

Rami Vaknin, QE @ Red Hat, TLV, IL.
</pre>
  </font></span></div>

</blockquote></div><br>