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

Bug 1894636

Summary: [neutron-tempest-plugin] testcases test_subport_connectivity and test_trunk_subport_lifecycle broken
Product: Red Hat OpenStack Reporter: Miguel Angel Nieto <mnietoji>
Component: python-neutron-tests-tempestAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: amuller, chrisw, jschluet, oblaut, ralonsoh, scohen
Target Milestone: ---Keywords: AutomationBlocker, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neutron-tests-tempest-0.9.0-1.20201113201948.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-26 13:49:37 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 Miguel Angel Nieto 2020-11-04 16:46:03 UTC
Description of problem:
python error when executing testcases test_trunk_subport_lifecycle and test_subport_connectivity

Traceback (most recent call last):
  File "/home/stack/tempest/neutron-tempest-plugin/neutron_tempest_plugin/scenario/test_trunk.py", line 266, in test_subport_connectivity
    use_advanced_image=use_advanced_image)
  File "/home/stack/tempest/neutron-tempest-plugin/neutron_tempest_plugin/scenario/test_trunk.py", line 94, in _create_server_with_trunk_port
    use_advanced_image=use_advanced_image)
  File "/home/stack/tempest/neutron-tempest-plugin/neutron_tempest_plugin/scenario/test_trunk.py", line 116, in _create_server
    **params)['server']
  File "/home/stack/tempest/neutron-tempest-plugin/neutron_tempest_plugin/scenario/base.py", line 147, in create_server
    self.wait_for_guest_os_ready(server['server'], client=client)
  File "/home/stack/tempest/neutron-tempest-plugin/neutron_tempest_plugin/scenario/base.py", line 476, in wait_for_guest_os_ready
    '%s is ready.', server['server']['id'])
KeyError: 'server'

Latest neutron-tempest-plugin commit (failing) is 3addd352d8be9c9148a957795df4d4ce81247572. I tested with an older commit (1 month old) and it worked, so it is an issue in neutron-tempest-plugin.



Version-Release number of selected component (if applicable):
neutron-tempest-plugin 3addd352d8be9c9148a957795df4d4ce81247572
RHOS-16.1-RHEL-8-20201021.n.0
ml2ovs setup

How reproducible:
Execute testcases test_subport_connectivity or test_trunk_subport_lifecycle broken in a ml2ovs setup


Actual results:
Testcases execution fail, there is a missing key in a dict


Expected results:
Testcases are executed properly


Additional info:

Comment 2 Jon Schlueter 2020-12-18 17:59:26 UTC
moving back to POST, upstream master has patch according to comment #1

dff870b600fc5a4fa33ccfc7c41b62f9aaa38ae3

Comment 19 errata-xmlrpc 2021-05-26 13:49:37 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