← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1437131] Re: neutron get_subnet is slow

 

** Changed in: neutron/juno
       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/1437131

Title:
  neutron get_subnet is slow

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

Bug description:
  get_subnet becomes slow with large numbers of ip availability
  ranges.[1] This plagues anything else that calls get_subnet or
  get_subnets, which is lots of stuff.


  
  1.  $ time neutron subnet-show 9f4d3afa-5e13-4031-a24e-923adf36efb1
  +-------------------+--------------------------------------------+
  | Field             | Value                                      |
  +-------------------+--------------------------------------------+
  | allocation_pools  | {"start": "0.0.0.2", "end": "0.0.255.253"} |
  | cidr              | 0.0.0.0/16                                 |
  | dns_nameservers   |                                            |
  | enable_dhcp       | True                                       |
  | gateway_ip        | 0.0.0.1                                    |
  | host_routes       |                                            |
  | id                | 9f4d3afa-5e13-4031-a24e-923adf36efb1       |
  | ip_version        | 4                                          |
  | ipv6_address_mode |                                            |
  | ipv6_ra_mode      |                                            |
  | name              |                                            |
  | network_id        | b316a86e-1582-4b56-bbc1-d68dd6635ac9       |
  | tenant_id         | dcbae871d5bd419ea3c17cfb89e8a9c7           |
  +-------------------+--------------------------------------------+

  real	0m4.307s
  user	0m0.353s
  sys	0m0.074s

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


References