← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1681184] Re: It takes too long to update multiple addresses at once

 

** 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/1681184

Title:
  It takes too long to update multiple addresses at once

Status in neutron:
  Invalid

Bug description:
  1. create two security groups
      sg-test-1:
        id 523ea2a0-8b73-4a9d-b122-68030418f9a6
        security_group_rules egress, IPv4
                                           egress, IPv6
                                           ingress, IPv4
  2. create two vms with security group
       vm1(10.20.10.12) port id ffcd8854-f4f6-4d66-84cd-ad29192ab778 sg-test-1

  3. test update address pairs
     
      3.1  one update 
      date +%s;neutron port-update ffcd8854-f4f6-4d66-84cd-ad29192ab778 --allowed-address-pairs type=dict list=true \
  ip_address=10.20.10.4,mac_address=fa:16:3e:02:70:85 -v;date +%s;

      1491374284 - 1491374282 = 2 s

      3.2 five update
      date +%s;neutron port-update ffcd8854-f4f6-4d66-84cd-ad29192ab778 --allowed-address-pairs type=dict list=true \
  ip_address=10.20.10.4,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.5,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.96,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.7,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.8,mac_address=fa:16:3e:02:70:85 -v;date +%s;

      1491374403 - 1491374397 = 6 s
      
      3.3 ten update
      date +%s;neutron port-update ffcd8854-f4f6-4d66-84cd-ad29192ab778 --allowed-address-pairs type=dict list=true \
  ip_adate +%s;neutron port-update ffcd8854-f4f6-4d66-84cd-ad29192ab778 --allowed-address-pairs type=dict list=true \
  ip_address=10.20.10.4,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.5,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.96,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.7,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.8,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.9,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.10,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.11,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.92,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.13,mac_address=fa:16:3e:02:70:85 \
  -v;date +%s;

      1491373934 - 1491373916 = 18 s

      3.4 twenty update
      change 'max_allowed_address_pair' to '100' in /etc/neutron/neutron.conf ,then restart neutron-server

      date +%s;neutron port-update ffcd8854-f4f6-4d66-84cd-ad29192ab778 --allowed-address-pairs type=dict list=true \
  ip_address=10.20.10.4,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.5,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.96,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.7,mac_address=fa:16:3e:02:70:85 \ ip_address=10.20.10.8,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.9,mac_address=fa:16:3e:02:70:85 \ 
  ip_address=10.20.10.10,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.11,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.92,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.13,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.14,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.15,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.16,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.17,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.18,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.19,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.20,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.21,mac_address=fa:16:3e:02:70:85 \
  ip_address=10.20.10.22,mac_address=fa:16:3e:02:70:85 ip_address=10.20.10.23,mac_address=fa:16:3e:02:70:85 \
  -v;date +%s;

      1491374139 - 1491374078 = 61

  release used: ocata

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


References