Bug 1907788

Summary: UDP pool tests in octavia_tempest_plugin.tests.api.v2.test_pool.PoolAPITest fail with a timeout error on pool creation
Product: Red Hat OpenStack Reporter: Arieh Maron <amaron>
Component: openstack-octaviaAssignee: Gregory Thiemonge <gthiemon>
Status: CLOSED EOL QA Contact: Bruna Bonguardo <bbonguar>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: cgoncalves, gthiemon, ihrachys, lpeer, majopela, njohnston, scohen
Target Milestone: z15Keywords: TestOnly, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-octavia-5.0.4-0.20210115124656.6fd5524.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-10 17:19:22 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 Arieh Maron 2020-12-15 08:53:23 UTC
Description of problem:

While running the UDP tests in  octavia_tempest_plugin.tests.api.v2.test_pool.PoolAPITest The tests typically fail with a pool creation timeout:

Traceback (most recent call last):
  File "/home/stack/plugins/octavia/octavia_tempest_plugin/tests/api/v2/test_pool.py", line 238, in test_UDP_SI_pool_with_listener_create
    algorithm=const.LB_ALGORITHM_SOURCE_IP)
  File "/home/stack/plugins/octavia/octavia_tempest_plugin/tests/api/v2/test_pool.py", line 445, in _test_pool_create
    CONF.load_balancer.build_timeout)
  File "/home/stack/plugins/octavia/octavia_tempest_plugin/tests/waiters.py", line 96, in wait_for_status
    raise exceptions.TimeoutException(message)
tempest.lib.exceptions.TimeoutException: Request timed out
Details: (PoolAPITest:test_UDP_SI_pool_with_listener_create) show_pool operating_status failed to update to ONLINE within the required time 300. Current status of show_pool: OFFLINE



Version-Release number of selected component (if applicable):

observed in 16.1 (Train) and 13 (Queen)


How reproducible:

100%


Steps to Reproduce:
1. python3 -m testtools.run  octavia_tempest_plugin.tests.api.v2.test_pool.PoolAPITest.test_UDP_LC_pool_with_listener_create

Actual results:

Traceback (most recent call last):
  File "/home/stack/octavia-tempest-plugin/octavia_tempest_plugin/tests/api/v2/test_pool.py", line 116, in test_UDP_LC_pool_with_listener_create
    algorithm=const.LB_ALGORITHM_LEAST_CONNECTIONS)
  File "/home/stack/octavia-tempest-plugin/octavia_tempest_plugin/tests/api/v2/test_pool.py", line 445, in _test_pool_create
    CONF.load_balancer.build_timeout)
  File "/home/stack/octavia-tempest-plugin/octavia_tempest_plugin/tests/waiters.py", line 96, in wait_for_status
    raise exceptions.TimeoutException(message)
tempest.lib.exceptions.TimeoutException: Request timed out
Details: (PoolAPITest:test_UDP_LC_pool_with_listener_create) show_pool operating_status failed to update to ONLINE within the required time 300. Current status of show_pool: OFFLINE

Ran 1 test in 472.726s
FAILED (failures=1)



Expected results:

Successfull run 


Additional info:

Comment 1 Gregory Thiemonge 2020-12-16 10:10:30 UTC
*** Bug 1907965 has been marked as a duplicate of this bug. ***

Comment 5 Arieh Maron 2021-04-11 15:10:11 UTC
Bug still occurs in 16.1.5 puddle RHOS-16.1-RHEL-8-20210323.n.0
                    13.0   puddle OpenStack-13.0-RHEL-7-20210324.1

Comment 6 Arieh Maron 2021-04-21 12:07:21 UTC
Bug still occurs in RHOSP 13 with octavia version openstack-octavia-5.1.0-0.20210129074655.fd62200.el7ost

Comment 9 Arieh Maron 2021-04-28 07:34:30 UTC
Verified in OpenStack-13.0-RHEL-7-20210409.1

Comment 13 Lon Hohberger 2023-07-10 17:19:22 UTC
OSP13 support officially ended on 27 June 2023