neutron/neutron/ipam
Brian Haley 51e86150bf Always pass device_owner to _ipam_get_subnets()
There was one code path where the existing device_owner
value, which is used for subnet selection when service_type's
are in use was not passed to _imap_get_subnets().  This could
trigger one of two exceptions - HostNotCompatibleWithFixedIps()
or IpAddressGenerationFailureNoMatchingSubnet() depending
on the environment.  Pass it along if known.

Also update the IpAddressGenerationFailureNoMatchingSubnet
exception to print the network_id and service_type values since
it could aid in debugging the problem quicker.

Change-Id: Ic13901b92cac05e8ddf1092b66aa5bcc5623fa8a
Closes-bug: #1637366
(cherry picked from commit 0d4889df41)
2018-02-17 18:32:02 +00:00
..
drivers Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
__init__.py Make IPAM more pythonic 2015-07-09 17:33:17 +00:00
driver.py Don't log ipam driver on every IP allocation 2017-06-14 02:11:17 -07:00
exceptions.py Always pass device_owner to _ipam_get_subnets() 2018-02-17 18:32:02 +00:00
requests.py Use method get_ipv6_addr_by_EUI64 from oslo.utils 2016-08-30 19:49:09 +08:00
subnet_alloc.py New enginefacade for networks, subnets. 2017-03-30 01:26:45 -07:00
utils.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00