← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1659897] Re: FirewallNotFound exception triggered during firewall-delete in DVR and HA case

 

Duplicated with:
https://bugs.launchpad.net/neutron/+bug/1658060
Already fix

** Changed in: neutron
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1659897

Title:
  FirewallNotFound exception triggered during firewall-delete in DVR and
  HA case

Status in neutron:
  Invalid

Bug description:
  During firewall-delete all hosts will receive the "delete_firewall" AMQP cast.
  On reception, related HA or DVR agents will performed some iptables cleanup.
  Then agents will sent "firewall_deleted" AMQP calls to neutron-server.

  In case of HA or DVR agents:
  On the first "firewall_deleted" request the neutron-server will performed some cleanup in database.
  The firewall resource is deleted with success.
  But for all remaining "firewall_deleted" requests, exception FirewallNotFound will be triggered.

  
  2017-01-27 15:18:43.881 ERROR oslo_messaging.rpc.dispatcher [req-0080f38 da00e89 72bf1f3] Exception during message handling: Firewall f79727c3-ef7c-45cb-a2ff-c356c7703f9b could not be found.
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher     executor_callback))
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 189, in _dispatch
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher     executor_callback)
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/neutron_fwaas/services/firewall/fwaas_plugin.py", line 67, in firewall_deleted
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher     fw_db = self.plugin._get_firewall(context, firewall_id)
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/neutron_fwaas/db/firewall/firewall_db.py", line 101, in _get_firewall
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher     raise fw_ext.FirewallNotFound(firewall_id=id)
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher FirewallNotFound: Firewall f79727c3-ef7c-45cb-a2ff-c356c7703f9b could not be found.
  2017-01-27 15:18:43.881 19032 TRACE oslo_messaging.rpc.dispatcher 
  2017-01-27 15:18:43.885 ERROR oslo_messaging._drivers.common [req-0080f38 da00e89 72bf1f3] Returning exception Firewall f79727c3-ef7c-45cb-a2ff-c356c7703f9b could not be found. to caller
  2017-01-27 15:18:43.888 ERROR oslo_messaging._drivers.common [req-0080f38 da00e89 72bf1f3] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply\n    executor_callback))\n', '  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 189, in _dispatch\n    executor_callback)\n', '  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch\n    result = func(ctxt, **new_args)\n', '  File "/usr/lib/python2.7/dist-packages/neutron_fwaas/services/firewall/fwaas_plugin.py", line 67, in firewall_deleted\n    fw_db = self.plugin._get_firewall(context, firewall_id)\n', '  File "/usr/lib/python2.7/dist-packages/neutron_fwaas/db/firewall/firewall_db.py", line 101, in _get_firewall\n    raise fw_ext.FirewallNotFound(firewall_id=id)\n', 'FirewallNotFound: Firewall f79727c3-ef7c-45cb-a2ff-c356c7703f9b could not be found.\n']

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1659897/+subscriptions


References