Comment 10 for bug 1820588

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (stable/stein)

Reviewed: https://review.opendev.org/657581
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a2b1ef5f11f38a3359613babff86ec861bff4373
Submitter: Zuul
Branch: stable/stein

commit a2b1ef5f11f38a3359613babff86ec861bff4373
Author: Balazs Gibizer <email address hidden>
Date: Fri May 3 16:14:48 2019 -0600

    Log when port resource is leaked during port delete

    When a bound port is deleted in neutron, nova gets a
    network-vif-deleted notification and the port is
    detached from the server. However if the port had resource request
    then the resulting allocation is leaked.

    This patch makes sure nova at least logs an ERROR. Also this patch
    asserts that the leaked allocation is reclaimed when the server is
    deleted.

    Change-Id: I5d905aeb5b25f84d406dbf238d0d3a46f0f81161
    Related-Bug: #1820588
    (cherry picked from commit e9d572ddfad10da18603c55da1aad2e70da15381)