Public bug reported: Similar to https://bugs.launchpad.net/neutron/+bug/1533013, l2pop can puke out exceptions when a port is deleted that has a host corresponding to either no agent or an agent without a tunneling_ip.
2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers [req-510f740d-06f7-4021-a966-09cee40214b8 3bf25c0ae26d43b3850b456393c12c60 7 23aab91248340919c7eb815f20a52cc - - -] Mechanism driver 'l2population' failed in delete_port_postcommit 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers Traceback (most recent call last): 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers File "/openstack/venvs/neutron-14.0.5/lib/python2.7/site-packages/neutron/ plugins/ml2/managers.py", line 433, in _call_on_drivers 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers getattr(driver.obj, method_name)(context) 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers File "/openstack/venvs/neutron-14.0.5/lib/python2.7/site-packages/neutron/ plugins/ml2/drivers/l2pop/mech_driver.py", line 74, in delete_port_postcommit 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers port, agent_host) 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers File "/openstack/venvs/neutron-14.0.5/lib/python2.7/site-packages/neutron/ plugins/ml2/drivers/l2pop/mech_driver.py", line 312, in _get_agent_fdb 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers if not self._validate_segment(segment, port['id'], agent): 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers File "/openstack/venvs/neutron-14.0.5/lib/python2.7/site-packages/neutron/ plugins/ml2/drivers/l2pop/mech_driver.py", line 190, in _validate_segment 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers network_types = l2pop_db.get_agent_l2pop_network_types(agent) 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers File "/openstack/venvs/neutron-14.0.5/lib/python2.7/site-packages/neutron/ plugins/ml2/drivers/l2pop/db.py", line 52, in get_agent_l2pop_network_types 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers configuration = jsonutils.loads(agent.configurations) 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers AttributeError: 'NoneType' object has no attribute 'configurations' 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers 2017-03-09 01:34:17.433 42625 ERROR neutron.plugins.ml2.plugin [req-510f740d-06f7-4021-a966-09cee40214b8 3bf25c0ae26d43b3850b456393c12c60 723 aab91248340919c7eb815f20a52cc - - -] mechanism_manager.delete_port_postcommit failed for port e0c420ee-dd08-4aa8-9743-e1ae18638551 2017-03-09 01:34:17.455 42625 INFO neutron.wsgi [req-510f740d-06f7-4021-a966-09cee40214b8 3bf25c0ae26d43b3850b456393c12c60 723aab91248340919c7eb815f20a52cc - - -] 10.146.200.46,10 tel:10.146.200.46,10 .146.200.9 - - [09/Mar/2017 01:34:17] "DELETE /v2.0/ports/e0c420ee-dd08-4aa8-9743-e1ae18638551.json HTTP/1.1" 204 168 0.727523 ``` ** Affects: neutron Importance: Low Assignee: Kevin Benton (kevinbenton) Status: New ** Changed in: neutron Assignee: (unassigned) => Kevin Benton (kevinbenton) ** Changed in: neutron Importance: Undecided => Medium ** Changed in: neutron Importance: Medium => Low -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1672564 Title: l2pop raising exceptions when host has no tunneling_ip or agent Status in neutron: New Bug description: Similar to https://bugs.launchpad.net/neutron/+bug/1533013, l2pop can puke out exceptions when a port is deleted that has a host corresponding to either no agent or an agent without a tunneling_ip. 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers [req-510f740d-06f7-4021-a966-09cee40214b8 3bf25c0ae26d43b3850b456393c12c60 7 23aab91248340919c7eb815f20a52cc - - -] Mechanism driver 'l2population' failed in delete_port_postcommit 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers Traceback (most recent call last): 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers File "/openstack/venvs/neutron-14.0.5/lib/python2.7/site-packages/neutron/ plugins/ml2/managers.py", line 433, in _call_on_drivers 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers getattr(driver.obj, method_name)(context) 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers File "/openstack/venvs/neutron-14.0.5/lib/python2.7/site-packages/neutron/ plugins/ml2/drivers/l2pop/mech_driver.py", line 74, in delete_port_postcommit 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers port, agent_host) 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers File "/openstack/venvs/neutron-14.0.5/lib/python2.7/site-packages/neutron/ plugins/ml2/drivers/l2pop/mech_driver.py", line 312, in _get_agent_fdb 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers if not self._validate_segment(segment, port['id'], agent): 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers File "/openstack/venvs/neutron-14.0.5/lib/python2.7/site-packages/neutron/ plugins/ml2/drivers/l2pop/mech_driver.py", line 190, in _validate_segment 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers network_types = l2pop_db.get_agent_l2pop_network_types(agent) 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers File "/openstack/venvs/neutron-14.0.5/lib/python2.7/site-packages/neutron/ plugins/ml2/drivers/l2pop/db.py", line 52, in get_agent_l2pop_network_types 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers configuration = jsonutils.loads(agent.configurations) 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers AttributeError: 'NoneType' object has no attribute 'configurations' 2017-03-09 01:34:17.432 42625 ERROR neutron.plugins.ml2.managers 2017-03-09 01:34:17.433 42625 ERROR neutron.plugins.ml2.plugin [req-510f740d-06f7-4021-a966-09cee40214b8 3bf25c0ae26d43b3850b456393c12c60 723 aab91248340919c7eb815f20a52cc - - -] mechanism_manager.delete_port_postcommit failed for port e0c420ee-dd08-4aa8-9743-e1ae18638551 2017-03-09 01:34:17.455 42625 INFO neutron.wsgi [req-510f740d-06f7-4021-a966-09cee40214b8 3bf25c0ae26d43b3850b456393c12c60 723aab91248340919c7eb815f20a52cc - - -] 10.146.200.46,10 tel:10.146.200.46,10 .146.200.9 - - [09/Mar/2017 01:34:17] "DELETE /v2.0/ports/e0c420ee-dd08-4aa8-9743-e1ae18638551.json HTTP/1.1" 204 168 0.727523 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1672564/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp