yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39806
[Bug 1504465] [NEW] neutron_lbaas.tests.tempest.v2.api.test_health_monitors_non_admin.TestHealthMonitors failed to clean up loadbalancer
Public bug reported:
http://logs.openstack.org/15/229915/3/gate/gate-neutron-lbaasv2-dsvm-
minimal/5dc60be/logs/testr_results.html.gz
ft1.2: tearDownClass (neutron_lbaas.tests.tempest.v2.api.test_health_monitors_non_admin.TestHealthMonitors)_StringException: Traceback (most recent call last):
File "neutron_lbaas/tests/tempest/lib/test.py", line 310, in tearDownClass
six.reraise(etype, value, trace)
File "neutron_lbaas/tests/tempest/lib/test.py", line 293, in tearDownClass
teardown()
File "neutron_lbaas/tests/tempest/v2/api/base.py", line 96, in resource_cleanup
cls._try_delete_resource(cls._delete_load_balancer, lb_id)
File "neutron_lbaas/tests/tempest/v1/api/base.py", line 185, in _try_delete_resource
delete_callable(*args, **kwargs)
File "neutron_lbaas/tests/tempest/v2/api/base.py", line 137, in _delete_load_balancer
load_balancer_id, delete=True)
File "neutron_lbaas/tests/tempest/v2/api/base.py", line 160, in _wait_for_load_balancer_status
load_balancer_id)
File "neutron_lbaas/tests/tempest/v2/clients/load_balancers_client.py", line 42, in get_load_balancer
resp, body = self.get(url)
File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 274, in get
return self.request('GET', url, extra_headers, headers)
File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 646, in request
resp, resp_body)
File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 760, in _error_checker
message=message)
tempest_lib.exceptions.ServerFault: Got server fault
Details: Request Failed: internal server error while processing your request.
Server failure is:
2015-10-08 23:22:56.409 ERROR neutron.api.v2.resource [req-fafd7f88-2e1a-41ce-85c1-9dbacc6f1d93 TestHealthMonitors-867400801 TestHealthMonitors-1196952833] show failed
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource Traceback (most recent call last):
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource result = method(request=request, **args)
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 359, in show
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource parent_id=parent_id),
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 311, in _item
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource obj = obj_getter(request.context, id, **kwargs)
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron-lbaas/neutron_lbaas/services/loadbalancer/plugin.py", line 560, in get_loadbalancer
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource return self.db.get_loadbalancer(context, id).to_api_dict()
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron-lbaas/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py", line 268, in get_loadbalancer
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource lb_db = self._get_resource(context, models.LoadBalancer, id)
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron-lbaas/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py", line 73, in _get_resource
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource context.session.refresh(resource)
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1344, in refresh
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource instance_str(instance))
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource InvalidRequestError: Could not refresh instance '<LoadBalancer at 0x7fbea46e86d0>'
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource
** Affects: neutron
Importance: Medium
Status: Confirmed
** Tags: db gate-failure lbaas
** Tags added: db gate-failure lbaas
** Changed in: neutron
Importance: Undecided => Medium
** Changed in: neutron
Status: New => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1504465
Title:
neutron_lbaas.tests.tempest.v2.api.test_health_monitors_non_admin.TestHealthMonitors
failed to clean up loadbalancer
Status in neutron:
Confirmed
Bug description:
http://logs.openstack.org/15/229915/3/gate/gate-neutron-lbaasv2-dsvm-
minimal/5dc60be/logs/testr_results.html.gz
ft1.2: tearDownClass (neutron_lbaas.tests.tempest.v2.api.test_health_monitors_non_admin.TestHealthMonitors)_StringException: Traceback (most recent call last):
File "neutron_lbaas/tests/tempest/lib/test.py", line 310, in tearDownClass
six.reraise(etype, value, trace)
File "neutron_lbaas/tests/tempest/lib/test.py", line 293, in tearDownClass
teardown()
File "neutron_lbaas/tests/tempest/v2/api/base.py", line 96, in resource_cleanup
cls._try_delete_resource(cls._delete_load_balancer, lb_id)
File "neutron_lbaas/tests/tempest/v1/api/base.py", line 185, in _try_delete_resource
delete_callable(*args, **kwargs)
File "neutron_lbaas/tests/tempest/v2/api/base.py", line 137, in _delete_load_balancer
load_balancer_id, delete=True)
File "neutron_lbaas/tests/tempest/v2/api/base.py", line 160, in _wait_for_load_balancer_status
load_balancer_id)
File "neutron_lbaas/tests/tempest/v2/clients/load_balancers_client.py", line 42, in get_load_balancer
resp, body = self.get(url)
File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 274, in get
return self.request('GET', url, extra_headers, headers)
File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 646, in request
resp, resp_body)
File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 760, in _error_checker
message=message)
tempest_lib.exceptions.ServerFault: Got server fault
Details: Request Failed: internal server error while processing your request.
Server failure is:
2015-10-08 23:22:56.409 ERROR neutron.api.v2.resource [req-fafd7f88-2e1a-41ce-85c1-9dbacc6f1d93 TestHealthMonitors-867400801 TestHealthMonitors-1196952833] show failed
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource Traceback (most recent call last):
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource result = method(request=request, **args)
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 359, in show
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource parent_id=parent_id),
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 311, in _item
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource obj = obj_getter(request.context, id, **kwargs)
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron-lbaas/neutron_lbaas/services/loadbalancer/plugin.py", line 560, in get_loadbalancer
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource return self.db.get_loadbalancer(context, id).to_api_dict()
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron-lbaas/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py", line 268, in get_loadbalancer
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource lb_db = self._get_resource(context, models.LoadBalancer, id)
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/opt/stack/new/neutron-lbaas/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py", line 73, in _get_resource
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource context.session.refresh(resource)
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1344, in refresh
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource instance_str(instance))
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource InvalidRequestError: Could not refresh instance '<LoadBalancer at 0x7fbea46e86d0>'
2015-10-08 23:22:56.409 13383 ERROR neutron.api.v2.resource
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1504465/+subscriptions
Follow ups