-
Improvement
-
Resolution: Done
-
None
-
Multiple
-
None
-
Operating System: All
Platform: All
The OpenStack Tempest tests for tempest.api.network.test_metering_extensions fail with OpenDaylight as the ML2 driver. The tempest logs are below:
[vagrant@localhost tempest]$ testr failing
======================================================================
FAIL: setUpClass (tempest.api.network.test_metering_extensions.MeteringIpV6TestJSON)
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tempest/test.py", line 273, in setUpClass
cls.resource_setup()
File "tempest/api/network/test_metering_extensions.py", line 45, in resource_setup
cls.metering_label = cls.create_metering_label(name, description)
File "tempest/api/network/base.py", line 433, in create_metering_label
name=data_utils.rand_name("metering-label"))
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_metering_extensions.MeteringTestJSON)
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tempest/test.py", line 273, in setUpClass
cls.resource_setup()
File "tempest/api/network/test_metering_extensions.py", line 45, in resource_setup
cls.metering_label = cls.create_metering_label(name, description)
File "tempest/api/network/base.py", line 433, in create_metering_label
name=data_utils.rand_name("metering-label"))
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.576s
FAILED (id=9, failures=2)
[vagrant@localhost tempest]$