← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1291565] [NEW] validate_networks does unnecessary querying to neutron in some cases

 

Public bug reported:

This patch optimizes validate_networks so that it only queries neutron
when needed. Previously, this method would perform an additional net_list,
list_ports, and show_quota regardless if a request contains only
port_ids. If a request only contains port ids we do not need to check neutron
for quota as these ports are already allocated.

** Affects: nova
     Importance: High
     Assignee: Aaron Rosen (arosen)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => Aaron Rosen (arosen)

** Changed in: nova
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1291565

Title:
  validate_networks does unnecessary querying to neutron in some cases

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  This patch optimizes validate_networks so that it only queries neutron
  when needed. Previously, this method would perform an additional net_list,
  list_ports, and show_quota regardless if a request contains only
  port_ids. If a request only contains port ids we do not need to check neutron
  for quota as these ports are already allocated.

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


Follow ups

References