Bug 1379385 - Floating IP shows as associated in Nova after deletion[rhos-8.0]
Summary: Floating IP shows as associated in Nova after deletion[rhos-8.0]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: async
: 8.0 (Liberty)
Assignee: Kashyap Chamarthy
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On: 1379376
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-26 14:23 UTC by Jon Schlueter
Modified: 2022-07-09 08:32 UTC (History)
12 users (show)

Fixed In Version: openstack-nova-12.0.5-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1379376
Environment:
Last Closed: 2016-12-21 16:39:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1614538 0 None None None 2016-09-26 14:23:27 UTC
OpenStack gerrit 357494 0 None None None 2016-09-26 14:23:27 UTC
Red Hat Issue Tracker OSP-16783 0 None None None 2022-07-09 08:32:51 UTC
Red Hat Product Errata RHSA-2016:2991 0 normal SHIPPED_LIVE Moderate: openstack-cinder, openstack-glance, and openstack-nova update 2016-12-21 21:34:31 UTC

Comment 1 Kashyap Chamarthy 2016-10-06 16:43:05 UTC
The fix for RHOS-8 came in via the recent rebase

    https://bugzilla.redhat.com/show_bug.cgi?id=1381466 --  rebase to 12.0.5

That's available via: openstack-nova-12.0.5-1.el7ost


I quickly verified it by:

-------------------------------------------------------------------------
$ rpm2cpio openstack-nova-12.0.5-1.el7ost.src.rpm | \
    cpio --extract --make-directories

$ tar -xzf nova-12.0.5.tar.gz 

Find the existence of the _release_floating_ip_and_refresh_cache() method, which came in via the commit[x]

$ grep _release_floating_ip_and_refresh_cache nova/network/neutronv2/api.py 
        def _release_floating_ip_and_refresh_cache(self, context, instance,
            _release_floating_ip_and_refresh_cache(self, context, instance,
-------------------------------------------------------------------------

[x] As verified on rhos/nova (rhos-8.0-patches) branch:
-----------------------------------------------------------------
$ git show 15cfd039fe30456e9ff19cfb9572d981c6b991f6  --stat
commit 15cfd039fe30456e9ff19cfb9572d981c6b991f6
Author: Michael Wurtz <michael.wurtz>
Date:   Thu Aug 18 14:53:33 2016 -0500

    Refresh info_cache after deleting floating IP
    
    When deleting a floating IP associated with Neutron's info_cache we don't
    refresh the info_cache after it is deleted.
    This patch makes it so the info_cache is refreshed when an associated
    floating IP is deleted. If there is no info_cache associated with the
    floating IP then info_cache is not refreshed.
    
    Change-Id: I8a8ae8cdbe2d9d77e7f1ae94ebdf6e4ad46eaf00
    Closes-Bug:  #1614538
    (cherry picked from commit cdb9b6820dc17971bca24adfc0b56f030f0ae827)
    (cherry picked from commit a832e6b2a019323fdf00e30302ad5c3c809baa21)

 nova/network/neutronv2/api.py             | 14 ++++++++++++--
 nova/tests/unit/network/test_neutronv2.py | 15 +++++++++++++++
 2 files changed, 27 insertions(+), 2 deletions(-)
-----------------------------------------------------------------

Comment 7 errata-xmlrpc 2016-12-21 16:39:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2991.html


Note You need to log in before you can comment on or make changes to this bug.