Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1379385 - Floating IP shows as associated in Nova after deletion[rhos-8.0]
Floating IP shows as associated in Nova after deletion[rhos-8.0]
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova (Show other bugs)
8.0 (Liberty)
Unspecified Unspecified
unspecified Severity unspecified
: async
: 8.0 (Liberty)
Assigned To: Kashyap Chamarthy
Prasanth Anbalagan
: Automation, Triaged, ZStream
Depends On: 1379376
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-26 10:23 EDT by Jon Schlueter
Modified: 2016-12-21 11:39 EST (History)
13 users (show)

See Also:
Fixed In Version: openstack-nova-12.0.5-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1379376
Environment:
Last Closed: 2016-12-21 11:39:58 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1614538 None None None 2016-09-26 10:23 EDT
OpenStack gerrit 357494 None None None 2016-09-26 10:23 EDT
Red Hat Product Errata RHSA-2016:2991 normal SHIPPED_LIVE Moderate: openstack-cinder, openstack-glance, and openstack-nova update 2016-12-21 16:34:31 EST

  None (edit)
Comment 1 Kashyap Chamarthy 2016-10-06 12:43:05 EDT
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@ibm.com>
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 11:39:58 EST
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.