Comment 10 for bug 1637366

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/ocata)

Reviewed: https://review.openstack.org/545615
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=fb5c2ba3390668afeca828681edc54fb544cef11
Submitter: Zuul
Branch: stable/ocata

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)