Bug 1921742 - [16.1]Backport fix for test_reuse_ip_address_with_other_fip_on_other_router
Summary: [16.1]Backport fix for test_reuse_ip_address_with_other_fip_on_other_router
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-neutron-tests-tempest
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Roman Safronov
QA Contact: Roman Safronov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-28 14:42 UTC by Roman Safronov
Modified: 2022-08-26 15:29 UTC (History)
2 users (show)

Fixed In Version: python-neutron-tests-tempest-0.9.0-1.20201113201949.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 13:50:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-1967 0 None None None 2022-08-26 15:29:42 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:51:11 UTC

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


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