Comment 12 for bug 1430394

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

Reviewed: https://review.openstack.org/217439
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=8156548109816e73a6e12aab1d7f2358d2c43b99
Submitter: Jenkins
Branch: stable/kilo

commit 8156548109816e73a6e12aab1d7f2358d2c43b99
Author: Anand Shanmugam <email address hidden>
Date: Tue Apr 21 22:51:56 2015 +0530

    Adding code to prevent vip port deletion from port api

    When a lbaas port is deleted from the port delete command from
    neutron it tries to delete the port but since it is being held
    for the vip the database update fails and neutron throws a 500
    error

    This fix checks if the vip is associated to the port and allows
    deletion of the port only if there is no vip associated with the
    port

    Change-Id: If9f123dedfe86225c52b6d26c76a64e3f5bee15c
    Closes-Bug: #1430394
    (cherry picked from commit dba6eea593f532b7d7f7b3c1bcd4dee950d6fe18)