commit fb5c2ba3390668afeca828681edc54fb544cef11
Author: Brian Haley <email address hidden>
Date: Mon Feb 12 15:38:24 2018 -0500
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 0d4889df41485cece4bef5915753ae7efd808138)
Reviewed: https:/ /review. openstack. org/545615 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=fb5c2ba3390 668afeca828681e dc54fb544cef11
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit fb5c2ba3390668a feca828681edc54 fb544cef11
Author: Brian Haley <email address hidden>
Date: Mon Feb 12 15:38:24 2018 -0500
Always pass device_owner to _ipam_get_subnets()
There was one code path where the existing device_owner subnets( ). This could leWithFixedIps( ) tionFailureNoMa tchingSubnet( ) depending
value, which is used for subnet selection when service_type's
are in use was not passed to _imap_get_
trigger one of two exceptions - HostNotCompatib
or IpAddressGenera
on the environment. Pass it along if known.
Also update the IpAddressGenera tionFailureNoMa tchingSubnet
exception to print the network_id and service_type values since
it could aid in debugging the problem quicker.
Change-Id: Ic13901b92cac05 e8ddf1092b66aa5 bcc5623fa8a ce4bef5915753ae 7efd808138)
Closes-bug: #1637366
(cherry picked from commit 0d4889df41485ce