← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1479948] [NEW] During subnet-update, allocation_pools used before being validated

 

Public bug reported:

During the processing of a subnet-update request, neutron uses the
specified allocation_pools to determine if the gateway IP is in that
specified pool [1] prior to that incoming allocation_pools property ever
being validated [2].

Validation of the incoming allocation_pool should be done before that property  is used.
 
[1]: https://github.com/openstack/neutron/blob/master/neutron/db/db_base_plugin_v2.py#L575
[2]: https://github.com/openstack/neutron/blob/master/neutron/db/ipam_backend_mixin.py#L188

** Affects: neutron
     Importance: Undecided
     Assignee: John Kasperski (jckasper)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => John Kasperski (jckasper)

** Changed in: neutron
       Status: New => In Progress

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

Title:
  During subnet-update, allocation_pools used before being validated

Status in neutron:
  In Progress

Bug description:
  During the processing of a subnet-update request, neutron uses the
  specified allocation_pools to determine if the gateway IP is in that
  specified pool [1] prior to that incoming allocation_pools property
  ever being validated [2].

  Validation of the incoming allocation_pool should be done before that property  is used.
   
  [1]: https://github.com/openstack/neutron/blob/master/neutron/db/db_base_plugin_v2.py#L575
  [2]: https://github.com/openstack/neutron/blob/master/neutron/db/ipam_backend_mixin.py#L188

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


Follow ups