Comment 8 for bug 1637366

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

Reviewed: https://review.openstack.org/545613
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5b7a1f85b36bb5f4b195c3cb19059966f33112ca
Submitter: Zuul
Branch: stable/queens

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)