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

Bug 1931620

Summary: Logging of the server's console output may be broken
Product: Red Hat OpenStack Reporter: Slawek Kaplonski <skaplons>
Component: python-neutron-tests-tempestAssignee: Slawek Kaplonski <skaplons>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)Keywords: Triaged, ZStream
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neutron-tests-tempest-0.5.0-0.20190814141617.31993d5.el7ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-16 10:58:58 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 Slawek Kaplonski 2021-02-22 19:52:36 UTC
Method _log_console_output from the base scenario class in the neutron-tempest-plugin repo can't properly handle server objects given as an element of the dict, like server['server'].
Fix for that is already in u/s neutron-tempest-plugin: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/712054

Error which we can see now in OSP-13 (and also 16.1 and 16.2) is like below:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/common/utils/__init__.py", line 107, in wrapper
    return func(*func_args, **func_kwargs)
  File "/usr/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/test_dhcp.py", line 92, in test_extra_dhcp_opts
    self._log_console_output([server])
  File "/usr/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/base.py", line 242, in _log_console_output
    server['id'])['output'])
KeyError: 'id'

Comment 11 errata-xmlrpc 2021-06-16 10:58:58 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 13.0 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:2385