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

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

Type: Bug
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


External issue ID: 2543

 Description   

The OpenStack Tempest tests fail with OpenDaylight as the ML2 MechanismDriver. The logs from the Tempest failure are below:

[vagrant@localhost tempest]$ testr failing
======================================================================
FAIL: tempest.api.network.test_floating_ips.FloatingIPTestJSON.test_create_update_floatingip_with_port_multiple_ip_address[gate,smoke]
tags: worker-0
----------------------------------------------------------------------
pythonlogging:'': {{{
2014-12-31 15:57:17,697 1476 DEBUG [tempest.common.rest_client] Request (FloatingIPTestJSON:test_create_update_floatingip_with_port_multiple_ip_address): 500 POST http://192.168.56.10:9696/v2.0/ports 0.420s
Request - Headers:

{'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}

Body: {"port": {"network_id": "d78d967a-600f-46b2-b0eb-a92eb63cb770", "fixed_ips": [

{"ip_address": "10.100.0.13"}

,

{"ip_address": "10.100.0.14"}

]}}
Response - Headers:

{'status': '500', 'content-length': '109', 'connection': 'close', 'date': 'Wed, 31 Dec 2014 15:57:17 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-0e08a25c-29b7-42d4-83a6-c158606be9e3'}

Body: {"NeutronError": {"message": "create_port_postcommit failed.", "type": "MechanismDriverError", "detail": ""}}
}}}

Traceback (most recent call last):
File "tempest/api/network/test_floating_ips.py", line 197, in test_create_update_floatingip_with_port_multiple_ip_address
fixed_ips=fixed_ips)
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 547, in _error_checker
raise exceptions.ServerFault(message)
ServerFault: Got server fault
Details: create_port_postcommit failed.
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout

pythonlogging:'': {{{
2014-12-31 15:57:17,697 1476 DEBUG [tempest.common.rest_client] Request (FloatingIPTestJSON:test_create_update_floatingip_with_port_multiple_ip_address): 500 POST http://192.168.56.10:9696/v2.0/ports 0.420s
Request - Headers:

{'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}

Body: {"port": {"network_id": "d78d967a-600f-46b2-b0eb-a92eb63cb770", "fixed_ips": [

{"ip_address": "10.100.0.13"}

,

{"ip_address": "10.100.0.14"}

]}}
Response - Headers:

{'status': '500', 'content-length': '109', 'connection': 'close', 'date': 'Wed, 31 Dec 2014 15:57:17 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-0e08a25c-29b7-42d4-83a6-c158606be9e3'}

Body: {"NeutronError": {"message": "create_port_postcommit failed.", "type": "MechanismDriverError", "detail": ""}}
}}}

Traceback (most recent call last):
File "tempest/api/network/test_floating_ips.py", line 197, in test_create_update_floatingip_with_port_multiple_ip_address
fixed_ips=fixed_ips)
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 547, in _error_checker
raise exceptions.ServerFault(message)
ServerFault: Got server fault
Details: create_port_postcommit failed.

Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout

pythonlogging:'': {{{
2014-12-31 15:57:17,697 1476 DEBUG [tempest.common.rest_client] Request (FloatingIPTestJSON:test_create_update_floatingip_with_port_multiple_ip_address): 500 POST http://192.168.56.10:9696/v2.0/ports 0.420s
Request - Headers:

{'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}

Body: {"port": {"network_id": "d78d967a-600f-46b2-b0eb-a92eb63cb770", "fixed_ips": [

{"ip_address": "10.100.0.13"}

,

{"ip_address": "10.100.0.14"}

]}}
Response - Headers:

{'status': '500', 'content-length': '109', 'connection': 'close', 'date': 'Wed, 31 Dec 2014 15:57:17 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-0e08a25c-29b7-42d4-83a6-c158606be9e3'}

Body: {"NeutronError": {"message": "create_port_postcommit failed.", "type": "MechanismDriverError", "detail": ""}}
}}}

Traceback (most recent call last):
File "tempest/api/network/test_floating_ips.py", line 197, in test_create_update_floatingip_with_port_multiple_ip_address
fixed_ips=fixed_ips)
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 547, in _error_checker
raise exceptions.ServerFault(message)
ServerFault: Got server fault
Details: create_port_postcommit failed.
Ran 1 tests in 0.424s
FAILED (id=6, failures=1)
[vagrant@localhost tempest]$



 Comments   
Comment by Ryan Moats [ 29/Jun/15 ]

Addressed by https://git.opendaylight.org/gerrit/#/c/23529/

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