[NEUTRON-20] Neutron Tempest Test Failure: tempest.api.network.test_load_balancer Created: 31/Dec/14  Updated: 19/Oct/17  Resolved: 09/Jun/15

Status: Resolved
Project: neutron
Component/s: northbound-api
Affects Version/s: Multiple
Fix Version/s: None

Type: Improvement
Reporter: Kyle Mestery Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

The OpenStack Tempest tests for tempest.api.network.test_load_balancer fail with OpenDaylight as the ML2 driver. The tempest logs are below:

[vagrant@localhost tempest]$ testr failing
======================================================================
FAIL: setUpClass (tempest.api.network.test_load_balancer.LoadBalancerIpV6TestJSON)
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tempest/test.py", line 273, in setUpClass
cls.resource_setup()
File "tempest/api/network/test_load_balancer.py", line 52, in resource_setup
"HTTP", cls.subnet)
File "tempest/api/network/base.py", line 284, in create_pool
subnet_id=subnet['id'])
File "tempest/services/network/json/network_client.py", line 145, in _create
resp, body = self.post(uri, post_data)
File "tempest/common/rest_client.py", line 236, in post
return self.request('POST', url, extra_headers, headers, body)
File "tempest/common/rest_client.py", line 450, in request
resp, resp_body)
File "tempest/common/rest_client.py", line 493, in _error_checker
raise exceptions.NotFound(resp_body)
NotFound: Object not found
Details: 404 Not Found

The resource could not be found.
======================================================================
FAIL: setUpClass (tempest.api.network.test_load_balancer.LoadBalancerTestJSON)
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tempest/test.py", line 273, in setUpClass
cls.resource_setup()
File "tempest/api/network/test_load_balancer.py", line 52, in resource_setup
"HTTP", cls.subnet)
File "tempest/api/network/base.py", line 284, in create_pool
subnet_id=subnet['id'])
File "tempest/services/network/json/network_client.py", line 145, in _create
resp, body = self.post(uri, post_data)
File "tempest/common/rest_client.py", line 236, in post
return self.request('POST', url, extra_headers, headers, body)
File "tempest/common/rest_client.py", line 450, in request
resp, resp_body)
File "tempest/common/rest_client.py", line 493, in _error_checker
raise exceptions.NotFound(resp_body)
NotFound: Object not found
Details: 404 Not Found

The resource could not be found.
Ran 2 tests in 1.362s
FAILED (id=8, failures=2)
[vagrant@localhost tempest]$



 Comments   
Comment by Ryan Moats [ 19/May/15 ]

Please add JSON sent by the test case - that will help locate and fix the bug

Comment by Ryan Moats [ 08/Jun/15 ]

remarking as in progress and impacting multiple versions of the northbound api

Comment by Ryan Moats [ 08/Jun/15 ]

https://git.opendaylight.org/gerrit/#/c/22103/ adds create tests for LB pools and related items to master branch

https://git.opendaylight.org/gerrit/22113 adds create tests for LB pools and related items to stable/lithium branch (both URIs)

Generated at Wed Feb 07 20:25:20 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.