[openstack-dev] [Neutron]Tempest testing error
Yaguang Tang
yaguang.tang at canonical.com
Fri Aug 1 03:29:34 UTC 2014
Hi Trinath,
I think you missed some configuration in tempest.conf for your testing, the
exception is duo to no "public_network_id" defined.
an example of tempest.conf for upsteam gate tests is here for your
reference
http://logs.openstack.org/32/99832/5/check/check-tempest-dsvm-neutron/0bab272/logs/tempest_conf.txt.gz
2014-08-01 10:29 GMT+08:00 trinath.somanchi at freescale.com <
trinath.somanchi at freescale.com>:
> Hi-
>
>
>
> When I execute router tests from tempest on my devstack environment, I get
> the following error for all the tests.
>
>
>
> ft46.5:
> tempest.api.network.test_routers.RoutersTest.test_create_show_list_update_delete_router[gate,smoke]_StringException:
> Empty attachments:
>
> stderr
>
> stdout
>
>
>
> pythonlogging:'': {{{2014-08-01 02:29:26,473 22759 INFO
> [tempest.common.rest_client] Request
> (RoutersTest:test_create_show_list_update_delete_router): 400 POST
> http://127.0.0.1:9696/v2.0/routers 0.164s}}}
>
>
>
> Traceback (most recent call last):
>
> File "tempest/api/network/test_routers.py", line 60, in
> test_create_show_list_update_delete_router
>
> admin_state_up=False)
>
> File "tempest/services/network/json/network_client.py", line 71, in
> create_router
>
> resp, body = self.post(uri, body)
>
> File "tempest/services/network/network_client_base.py", line 73, in post
>
> return self.rest_client.post(uri, body, headers)
>
> File "tempest/common/rest_client.py", line 218, in post
>
> return self.request('POST', url, extra_headers, headers, body)
>
> File "tempest/common/rest_client.py", line 430, in request
>
> resp, resp_body)
>
> File "tempest/common/rest_client.py", line 479, in _error_checker
>
> raise exceptions.BadRequest(resp_body)
>
> BadRequest: Bad request
>
> Details: {u'NeutronError': u"Invalid input for external_gateway_info.
> Reason: '' is not a valid UUID."}
>
>
>
> Kindly help me troubleshoot the issue. Is this an issue with devstack
> environment.
>
>
>
> Thanking you.
>
>
>
> --
>
> Trinath Somanchi - B39208
>
> trinath.somanchi at freescale.com | extn: 4048
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
--
Tang Yaguang
Canonical Ltd. | www.ubuntu.com | www.canonical.com
Mobile: +86 152 1094 6968
gpg key: 0x187F664F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140801/aa4e42e6/attachment.html>
More information about the OpenStack-dev
mailing list