← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1665326] [NEW] Fwaas:it will execute firewall rules twice for a router, when update the firewall.

 

Public bug reported:

environment: Mitaka

It will execute firewall rules twice for a router, when update the
firewall.

The code is in the agent update_firewall():
...
router_ids = self._get_router_ids_for_fw(context, firewall)
if router_ids or firewall['router_ids']:
    router_info_list = self._get_router_info_list_for_tenant(
        router_ids + firewall['router_ids'],
        firewall['tenant_id'])
...

But the "router_ids" is the same with "firewall['router_ids']

** Affects: neutron
     Importance: Undecided
     Assignee: wujun (wujun)
         Status: New


** Tags: fwaas

** Tags added: fwaas

** Changed in: neutron
     Assignee: (unassigned) => wujun (wujun)

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

Title:
  Fwaas:it will execute firewall rules twice for a router, when update
  the firewall.

Status in neutron:
  New

Bug description:
  environment: Mitaka

  It will execute firewall rules twice for a router, when update the
  firewall.

  The code is in the agent update_firewall():
  ...
  router_ids = self._get_router_ids_for_fw(context, firewall)
  if router_ids or firewall['router_ids']:
      router_info_list = self._get_router_info_list_for_tenant(
          router_ids + firewall['router_ids'],
          firewall['tenant_id'])
  ...

  But the "router_ids" is the same with "firewall['router_ids']

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