it might be related to midonet commit I71e1955b441a3e0576ed3a9ec239bb497a13f1e4 .
eg. http://logs.openstack.org/87/199387/45/check/gate-tempest-dsvm-networking-midonet-v2-ubuntu-xenial/2170a5f/logs/testr_results.html.gz
ft1.3: neutron.tests.tempest.api.test_floating_ips.FloatingIPTestJSON.test_floatingip_update_extra_attributes_port_id_not_changed[id-fd7161e1-2167-4686-a6ff-0f3df08001bb]_StringException: Empty attachments:
stderr
stdout
pythonlogging:'': {{{
2016-11-13 15:23:07,970 31182 INFO [tempest.lib.common.rest_client] Request (FloatingIPTestJSON:test_floatingip_update_extra_attributes_port_id_not_changed): 409 POST http://127.0.0.1:9696/v2.0/floatingips 0.764s
2016-11-13 15:23:07,970 31182 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Accept': 'application/json', 'X-Auth-Token': '<omitted>', 'Content-Type': 'application/json'}
Body: {"floatingip": {"port_id": "f216ce68-514b-48f7-b00c-204a73bcb292", "description": "d1", "floating_network_id": "1e484275-db36-4148-be9f-d62f4cc901ce"}}
Response - Headers: {'x-openstack-request-id': 'req-fea23a8b-c6e3-412e-89ff-c826be1cec14', 'content-location': 'http://127.0.0.1:9696/v2.0/floatingips', 'content-length': '724', 'date': 'Sun, 13 Nov 2016 15:23:07 GMT', 'connection': 'close', 'content-type': 'application/json; charset=UTF-8', 'status': '409'}
Body: {"NeutronError": {"message": "{\"message\":\"Failed to Create(id {\\n msb: 15947807681895157203\\n lsb: 12617191701733792954\\n}\\ntenant_id: \\\"6b32cb35bd4e443d93c4e6b0cf624691\\\"\\nrouter_id {\\n msb: 7869133993922088212\\n lsb: 11500645886563376102\\n}\\nport_id {\\n msb: 17444357154102003959\\n lsb: 12685549754537259666\\n}\\nfloating_ip_address {\\n version: V4\\n address: \\\"172.24.5.18\\\"\\n}\\nfixed_ip_address {\\n version: V4\\n address: \\\"10.1.0.10\\\"\\n}\\nfloating_network_id {\\n msb: 2182067093417378120\\n lsb: 13735932887143350734\\n}\\n); Router 6d34c7ac-cdad-4d14-9f9a-8080342adbe6 has no port whose subnetcontains 172.24.5.18\",\"code\":409}", "type": "HTTPConflict", "detail": ""}}
}}}
Traceback (most recent call last):
File "tempest/test.py", line 119, in wrapper
return func(*func_args, **func_kwargs)
File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_floating_ips.py", line 87, in test_floatingip_update_extra_attributes_port_id_not_changed
description='d1'
File "/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py", line 870, in create_floatingip
resp, body = self.post(uri, body)
File "tempest/lib/common/rest_client.py", line 276, in post
return self.request('POST', url, extra_headers, headers, body, chunked)
File "tempest/lib/common/rest_client.py", line 664, in request
self._error_checker(resp, resp_body)
File "tempest/lib/common/rest_client.py", line 776, in _error_checker
raise exceptions.Conflict(resp_body, resp=resp)
tempest.lib.exceptions.Conflict: An object with that identifier already exists
Details: {u'type': u'HTTPConflict', u'detail': u'', u'message': u'{"message":"Failed to Create(id {\\n msb: 15947807681895157203\\n lsb: 12617191701733792954\\n}\\ntenant_id: \\"6b32cb35bd4e443d93c4e6b0cf624691\\"\\nrouter_id {\\n msb: 7869133993922088212\\n lsb: 11500645886563376102\\n}\\nport_id {\\n msb: 17444357154102003959\\n lsb: 12685549754537259666\\n}\\nfloating_ip_address {\\n version: V4\\n address: \\"172.24.5.18\\"\\n}\\nfixed_ip_address {\\n version: V4\\n address: \\"10.1.0.10\\"\\n}\\nfloating_network_id {\\n msb: 2182067093417378120\\n lsb: 13735932887143350734\\n}\\n); Router 6d34c7ac-cdad-4d14-9f9a-8080342adbe6 has no port whose subnetcontains 172.24.5.18","code":409}'}
midokura internal reference: MI-1792
https:/ /review. gerrithub. io/302557