Bug 1956266

Summary: [16.2]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: low Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: shrjoshi, spower
Target Milestone: betaKeywords: AutomationBlocker, Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neutron-tests-tempest-0.9.0-2.20210528123644.el8ost.2 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-15 07:14:29 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-05-03 10:51:15 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.2-RHEL-8-20210420.n.0

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 6 Roman Safronov 2021-08-02 13:35:37 UTC
Verified on RHOS-16.2-RHEL-8-20210728.n.2 with python3-neutron-tests-tempest-0.9.0-2.20210528123644.el8ost.2.noarch.
Verified that the test runs properly in parallel with other tests.

Comment 8 errata-xmlrpc 2021-09-15 07:14:29 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 (RHOSP) 16.2 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/RHEA-2021:3483