← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1448022] Re: update port IP, ipset member can't be updated in another host

 

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

** Changed in: neutron
    Milestone: None => liberty-1

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

Title:
  update port IP, ipset member can't be updated in another host

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

Bug description:
  reproduce:
  1. vm A in compute A with ip:192.168.83.2, vm B in compute B with ip:192.168.83.3
  2. update vm A port ip to 192.168.83.4
  3. the ipset in compute B can't be updated

  the reason is that this path:https://review.openstack.org/58415 delete
  the 'notify_security_groups_member_updated' in method
  'is_security_group_member_updated'

      def is_security_group_member_updated(self, context,
                                           original_port, updated_port):
          """Check security group member updated or not.

          This method returns a flag which indicates request notification
          is required and does not perform notification itself.
          It is because another changes for the port may require notification.
          """
          need_notify = False
          if (original_port['fixed_ips'] != updated_port['fixed_ips'] or
              original_port['mac_address'] != updated_port['mac_address'] or
              not utils.compare_elements(
                  original_port.get(ext_sg.SECURITYGROUPS),
                  updated_port.get(ext_sg.SECURITYGROUPS))):
              need_notify = True
          return need_notify

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


References