yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #20881
[Bug 1367892] [NEW] delete port fails with RouterNotHostedByL3Agent exception
Public bug reported:
When deleting a vm, port_delete sometimes fails with a
RouterNotHostedByL3Agent exception. This error is created by a script
which boots a vm, associates a floating ip, tests that the vm is
pingable, disassociates the fip and then deletes the vm. The following
stack trace has been seen multiple times.
2014-09-09 11:55:59 7648 DEBUG neutronclient.v2_0.client [req-16883a09-7ec6-4159-9580-9cfa1880f786 73ae929bd62c4eddbe2f38a709265f2b 3d4668d03b5e4ac7b316aac9ff88e2db] Error message: {"NeutronError": {"message": "The router 0ffc5634-d7ff-4bc7-8dca-cbdb10414924 is not hosted by L3 agent 35f71627-3c41-4226-96dd-15faa6ec44c3.", "type": "RouterNotHostedByL3Agent", "detail": ""}} _handle_fault_response /opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py:1202
2014-09-09 11:55:59 7648 ERROR nova.network.neutronv2.api [req-16883a09-7ec6-4159-9580-9cfa1880f786 73ae929bd62c4eddbe2f38a709265f2b 3d4668d03b5e4ac7b316aac9ff88e2db] Failed to delete neutron port 41b8e31b-f459-4159-9311-d8701885f43a
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api Traceback (most recent call last):
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 448, in deallocate_for_instance
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api neutron.delete_port(port)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 101, in with_params
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api ret = self.function(instance, *args, **kwargs)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 328, in delete_port
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api return self.delete(self.port_path % (port))
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1311, in delete
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api headers=headers, params=params)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1300, in retry_request
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api headers=headers, params=params)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1243, in do_request
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api self._handle_fault_response(status_code, replybody)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1211, in _handle_fault_response
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api exception_handler_v20(status_code, des_error_body)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 68, in exception_handler_v20
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api status_code=status_code)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api Conflict: The router 0ffc5634-d7ff-4bc7-8dca-cbdb10414924 is not hosted by L3 agent 35f71627-3c41-4226-96dd-15faa6ec44c3.
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1367892
Title:
delete port fails with RouterNotHostedByL3Agent exception
Status in OpenStack Neutron (virtual network service):
New
Bug description:
When deleting a vm, port_delete sometimes fails with a
RouterNotHostedByL3Agent exception. This error is created by a script
which boots a vm, associates a floating ip, tests that the vm is
pingable, disassociates the fip and then deletes the vm. The
following stack trace has been seen multiple times.
2014-09-09 11:55:59 7648 DEBUG neutronclient.v2_0.client [req-16883a09-7ec6-4159-9580-9cfa1880f786 73ae929bd62c4eddbe2f38a709265f2b 3d4668d03b5e4ac7b316aac9ff88e2db] Error message: {"NeutronError": {"message": "The router 0ffc5634-d7ff-4bc7-8dca-cbdb10414924 is not hosted by L3 agent 35f71627-3c41-4226-96dd-15faa6ec44c3.", "type": "RouterNotHostedByL3Agent", "detail": ""}} _handle_fault_response /opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py:1202
2014-09-09 11:55:59 7648 ERROR nova.network.neutronv2.api [req-16883a09-7ec6-4159-9580-9cfa1880f786 73ae929bd62c4eddbe2f38a709265f2b 3d4668d03b5e4ac7b316aac9ff88e2db] Failed to delete neutron port 41b8e31b-f459-4159-9311-d8701885f43a
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api Traceback (most recent call last):
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 448, in deallocate_for_instance
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api neutron.delete_port(port)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 101, in with_params
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api ret = self.function(instance, *args, **kwargs)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 328, in delete_port
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api return self.delete(self.port_path % (port))
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1311, in delete
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api headers=headers, params=params)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1300, in retry_request
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api headers=headers, params=params)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1243, in do_request
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api self._handle_fault_response(status_code, replybody)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1211, in _handle_fault_response
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api exception_handler_v20(status_code, des_error_body)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 68, in exception_handler_v20
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api status_code=status_code)
2014-09-09 11:55:59.153 7648 TRACE nova.network.neutronv2.api Conflict: The router 0ffc5634-d7ff-4bc7-8dca-cbdb10414924 is not hosted by L3 agent 35f71627-3c41-4226-96dd-15faa6ec44c3.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1367892/+subscriptions
Follow ups
References