Bug 1450675 - TCP RST sent during neutron_lbaas.tests.tempest.v2.scenario.test_listener_basic.TestListenerBasic.test_listener_basic test fails when it should pass
Summary: TCP RST sent during neutron_lbaas.tests.tempest.v2.scenario.test_listener_bas...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron-lbaas
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: async
: 8.0 (Liberty)
Assignee: Nir Magnezi
QA Contact: Alexander Stafeyev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-14 14:26 UTC by Nir Magnezi
Modified: 2017-06-20 12:57 UTC (History)
6 users (show)

Fixed In Version: openstack-neutron-lbaas-7.2.0-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-20 12:57:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1675702 0 None None None 2017-05-14 14:28:56 UTC
OpenStack gerrit 452722 0 None None None 2017-05-14 14:27:20 UTC
RDO 6136 0 None None None 2017-05-14 14:33:04 UTC
Red Hat Product Errata RHBA-2017:1540 0 normal SHIPPED_LIVE openstack-neutron bug fix advisory 2017-06-20 16:55:20 UTC

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


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