commit 5b7a1f85b36bb5f4b195c3cb19059966f33112ca
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/545613 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5b7a1f85b36 bb5f4b195c3cb19 059966f33112ca
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 5b7a1f85b36bb5f 4b195c3cb190599 66f33112ca
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