Bug 1956266 - [16.2]Backport fix for test_reuse_ip_address_with_other_fip_on_other_router
Summary: [16.2]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.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: beta
: 16.2 (Train on RHEL 8.4)
Assignee: Roman Safronov
QA Contact: Roman Safronov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-03 10:51 UTC by Roman Safronov
Modified: 2021-09-15 07:14 UTC (History)
2 users (show)

Fixed In Version: python-neutron-tests-tempest-0.9.0-2.20210528123644.el8ost.2
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 07:14:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:14:55 UTC

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


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