← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1255183] Re: port update triggered even if sec group did not change

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  port update triggered even if sec group did not change

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  the code at:
  https://github.com/openstack/neutron/blob/master/neutron/db/securitygroups_rpc_base.py#L73

  will trigger a rebind of the security group of the port, as well as
  instruct the plugin to notify the agent if the port update request has
  the 'security_groups' attribute.

  Actually these operations are not needed if there's no change from the
  current value for security groups.

  This condition is causing a fair amount of port_update notification to be sent to the agent; the DHCP port is updated quite often, and since the plugin function is called from the RPC dispatcher, the security groups attribute is not missing, but is an empty list.
  For this reason the notification is then sent every time a DHCP port is updated.

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