Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1921742

Summary: [16.1]Backport fix for test_reuse_ip_address_with_other_fip_on_other_router
Product: Red Hat OpenStack Reporter: Roman Safronov <rsafrono>
Component: python-neutron-tests-tempestAssignee: Roman Safronov <rsafrono>
Status: CLOSED ERRATA QA Contact: Roman Safronov <rsafrono>
Severity: medium Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: ralonsoh, skaplons
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neutron-tests-tempest-0.9.0-1.20201113201949.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-26 13:50:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Safronov 2021-01-28 14:42:14 UTC
Description of problem:
Error in "test_reuse_ip_address_with_other_fip_on_other_router" with duplicated floating IP.

The test will create a FIP, then delete it and then create another FIP using the same IP address. The problem, as we can see in the following snippet, is that during the deletion and the creation again, another test requested a FIP and Neutron server provided **just the same IP address** (a case of bad luck): http://paste.openstack.org/show/794058/


Version-Release number of selected component (if applicable):
RHOS-16.1-RHEL-8-20210120.n.1

How reproducible:
Happens randomly. Occurs only when tests are running in several threads in parallel.

Steps to Reproduce:
1. run test_reuse_ip_address_with_other_fip_on_other_router in parallel with other tests

Actual results:
In case of bad luck neutron gives deleted floating ip address (that test_reuse_ip_address_with_other_fip_on_other_router planned to reuse) to some other test and test fails.

Expected results:
Test succeeds.

Additional info:

Comment 8 Roman Safronov 2021-04-14 11:03:38 UTC
Verified on RHOS-16.1-RHEL-8-20210413.n.0 
python3-neutron-tests-tempest-0.9.0-1.20210329083504.15c85f6.el8ost.noarch contains the fix, test_reuse_ip_address_with_other_fip_on_other_router  passes

Comment 15 errata-xmlrpc 2021-05-26 13:50:41 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 (Red Hat OpenStack Platform 16.1.6 bug fix and enhancement 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://access.redhat.com/errata/RHBA-2021:2097