yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #32398
[Bug 1448862] Re: neutron-lbaas tempest v2 api test_load_balancers_admin.py with empty/invalid tests fails
** Changed in: neutron
Status: In Progress => Invalid
** Changed in: neutron
Status: Invalid => Opinion
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1448862
Title:
neutron-lbaas tempest v2 api test_load_balancers_admin.py with
empty/invalid tests fails
Status in OpenStack Neutron (virtual network service):
Opinion
Bug description:
neutron_lbaas/tests/tempest/v2/api/test_load_balancers_admin.py
testcase test_create_load_balancer_empty_tenant_id_field()
fails if there is a validation for tenantid in backend driver.
1. In Case of looging noop driver (no validation is done by driver ) ,
In test , create returns success.
.2.In case of if Backend Driver (Say NetScaler) ,driver is raising BadRequest ,it is propagated as internal error.
{0} neutron_lbaas.tests.tempest.v2.api.test_load_balancers_admin.LoadBalancersTestJSON.test_create_load_balancer_empty_tenant_id_field [0.826439s] ... FAILED
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "neutron_lbaas/tests/tempest/v2/api/test_load_balancers_admin.py", line 87, in test_create_load_balancer_empty_tenant_id_field
tenant_id="")
File "neutron_lbaas/tests/tempest/v2/clients/load_balancers_client.py", line 50, in create_load_balancer
resp, body = self.post('v2.0/lbaas/loadbalancers', post_body)
File "/opt/stack/neutron-lbaas/.tox/tempest/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 252, in post
return self.request('POST', url, extra_headers, headers, body)
File "/opt/stack/neutron-lbaas/.tox/tempest/src/tempest/tempest/common/service_client.py", line 83, in request
raise exceptions.ServerFault(ex)
tempest.exceptions.ServerFault: Got server fault
Details: Got server fault
Details: An error happened in the driver
We should escape mentioned test case.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1448862/+subscriptions
References