← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1483687] [NEW] _update_subnet_allocation_pools returns an empty list

 

Public bug reported:

_update_subnet_allocation_pools in ipam_backend_mixin.py uses a
generator called pools, but iterates over it twice. Generators can only
be iterated over once, and therefore this function is currently
returning an empty list in all cases. This is not being caught by any
existing tests.

** Affects: neutron
     Importance: Undecided
     Assignee: John Davidge (john-davidge)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => John Davidge (john-davidge)

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

Title:
  _update_subnet_allocation_pools returns an empty list

Status in neutron:
  New

Bug description:
  _update_subnet_allocation_pools in ipam_backend_mixin.py uses a
  generator called pools, but iterates over it twice. Generators can
  only be iterated over once, and therefore this function is currently
  returning an empty list in all cases. This is not being caught by any
  existing tests.

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


Follow ups