<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 03/12/2013 05:26 PM, Girija Sharan wrote:
<blockquote
cite="mid:CADpE9xLfpuG6_cHP2jUA4EhTSs+Qg_t-bEtO1s_DvhoZbiSZLg@mail.gmail.com"
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
moz-do-not-send="true"
href="http://192.168.2.170:9696/v2.0/tenants/09b32430cf8548ec8472d29a79fe2ddd/networks">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 moz-do-not-send="true"
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 class="im">> 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>
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>
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 class="moz-txt-link-freetext" href="http://api.openstack.org/api-ref.html">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
cite="mid:CADpE9xLfpuG6_cHP2jUA4EhTSs+Qg_t-bEtO1s_DvhoZbiSZLg@mail.gmail.com"
type="cite">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
<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 class="HOEnZb"><font color="#888888"><br>
-jay<br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Thanks,
Rami Vaknin, QE @ Red Hat, TLV, IL.
</pre>
</body>
</html>