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

Bug 1920163

Summary: Not possible to run neutron tempest tests with console_output=False, slow execution of tests with many VMs
Product: Red Hat OpenStack Reporter: Roman Safronov <rsafrono>
Component: python-neutron-tests-tempestAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: low Docs Contact:
Priority: low    
Version: 16.1 (Train)CC: ralonsoh
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neutron-tests-tempest-0.9.0-1.20201113201948.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1953996 (view as bug list) Environment:
Last Closed: 2021-05-26 13:50:38 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:
Bug Depends On:    
Bug Blocks: 1953996    

Description Roman Safronov 2021-01-25 17:12:34 UTC
Description of problem:
There is a bug in the function wait_for_guest_os_ready which we hit when running neutron tempest tests while tempest config compute_feature_enabled.console_output set to False.

With console_output set to True we do not hit the bug but test execution is very slow for tests where we launch more than 1 VM because each VM is spawned after previous one is fully booted. this causes that some downstream multicast tests which are spawning 3+ VMs are very slow.

Note: with console_output set to False we are able to launch all 3-5 VMs simultaneously. All VMs are up after less than a minute.

Version-Release number of selected component (if applicable):
python3-neutron-tests-tempest-0.9.0-1.20201113201946.el8ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Set tempest config value compute_feature_enabled.console_output to False
2. Run any test that uses wait_for_guest_os_ready, e.g. test_multicast_between_vms_on_same_network


Actual results:
Test fails on wrong index

Expected results:
Test passes


Additional info:

Comment 6 Roman Safronov 2021-04-14 11:06:41 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, now it's possible to run neutron tempest tests with console_output=False

Comment 13 errata-xmlrpc 2021-05-26 13:50:38 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