Comment 10 for bug 1104337

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

Reviewed: https://review.openstack.org/23516
Committed: http://github.com/openstack/quantum/commit/f94b1491b8cb4701cd5064610d546db00d675c62
Submitter: Jenkins
Branch: stable/folsom

commit f94b1491b8cb4701cd5064610d546db00d675c62
Author: Salvatore Orlando <email address hidden>
Date: Mon Mar 4 18:19:47 2013 +0100

    L3 port delete prevention: do not raise if no IP on port

    Bug #1104337

    This patch alters the prevent_l3_port_deletion logic.
    PortInUse is raised only if the port has a device owner in
    (router_interface, router_gateway, floatingip) and an IP
    address.
    If no IP address is found on the port the port itself can
    be considered stale and therefore deleted as any association
    with l3 entities would be void.

    Change-Id: I9d711b2a9d2cbcc8be481f1751f51fe5b9f01327