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

Bug 1450675

Summary: TCP RST sent during neutron_lbaas.tests.tempest.v2.scenario.test_listener_basic.TestListenerBasic.test_listener_basic test fails when it should pass
Product: Red Hat OpenStack Reporter: Nir Magnezi <nmagnezi>
Component: openstack-neutron-lbaasAssignee: Nir Magnezi <nmagnezi>
Status: CLOSED ERRATA QA Contact: Alexander Stafeyev <astafeye>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0 (Liberty)CC: amuller, apevec, lhh, lpeer, nyechiel, oblaut
Target Milestone: asyncKeywords: Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-lbaas-7.2.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-20 12:57:52 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 Nir Magnezi 2017-05-14 14:26:13 UTC
Description of problem:
The neutron_lbaas.tests.tempest.v2.scenario.test_listener_basic.TestListenerBasic.test_listener_basic test uses the _send_requests method in the neutron_lbaas/tests/tempest/v2/scenario/base.py module.

This is a negative test and expects the request to fail. If the request is made to a LBaaS device which send TCP RST when a request is made, rather then having the client request simply cause a socket.timeout exception, the test fails.

The _send_request method in neutron_lbaas/tests/tempest/v2/scenario/base.py continues when HTTPError, URLError, and socket.timeout occur. It should also catch the exception for socket.error which would account for other socket errors, like an L4 TCP RST.


This RHBZ handle issues raised in the F5 LBaaS certification:
https://bugzilla.redhat.com/show_bug.cgi?id=1362300

Comment 1 Red Hat Bugzilla Rules Engine 2017-05-14 14:27:44 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 2 Red Hat Bugzilla Rules Engine 2017-05-14 21:15:48 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 5 Alexander Stafeyev 2017-06-06 12:37:06 UTC
python -m testtools.run neutron_lbaas.tests.tempest.v2.scenario.test_listener_basic.TestListenerBasic.test_listener_basic 

Ran 1 test in 48.380s
OK

openstack-neutron-lbaas-7.2.0-2.el7ost.noarch

Comment 7 errata-xmlrpc 2017-06-20 12:57:52 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, 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-2017:1540