Comment 1 for bug 1651015

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr-libnetwork (master)

Reviewed: https://review.openstack.org/412772
Committed: https://git.openstack.org/cgit/openstack/kuryr-libnetwork/commit/?id=4af7e1cdd821bbda0319251f1aae633a04573413
Submitter: Jenkins
Branch: master

commit 4af7e1cdd821bbda0319251f1aae633a04573413
Author: Dongcan Ye <email address hidden>
Date: Tue Dec 20 14:20:57 2016 +0800

    Delete port created by kuryr

    In current code, we get the port's subnet by checking the
    subnet's subnetpool_id equal with the given PoolID, but in
    existing environment, the subnet may lack subnetpool_id,
    hence we will not get the port's subnet and leaves the
    kuryr-libnetwork port undeleted.

    This patch checks the port's device owner and determines
    the given POOL's subnet_id and ip_address is equal to
    port's fixed_ips attribute.

    Change-Id: I736adbb2409b50a5e11d3aa7d31778944cfdeae1
    Co-Authored-By: Liping Mao <email address hidden>
    Closes-Bug: #1651015