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

Bug 2213532

Summary: AttributeError: 'VolumeEncryptionTest' object has no attribute '_log_console_output'
Product: Red Hat OpenStack Reporter: Lukas Piwowarski <lpiwowar>
Component: python-barbican-tests-tempestAssignee: Lukas Piwowarski <lpiwowar>
Status: CLOSED ERRATA QA Contact: Martin Kopec <mkopec>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: mkopec
Target Milestone: z2Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-barbican-tests-tempest-1.6.0-17.1.20230621015155.9fe096e.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-16 14:32:31 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 Lukas Piwowarski 2023-06-08 12:44:50 UTC
The get_remote_client() uses _log_console_output() function in the exception handling block [1]. This function is consumed from tempest and unfortunately, the function was renamed to log_console_output() there. Thanks to this we encounter an Attribute error in the Exception handling block as the function is not present for the VolumeEncryptionTest.

This issue can be probably solved by backporting a change which removes the definition get_remote_client() from barbican-tempest-plugin. Thanks to this change the plugin then should use the functioning get_remote_client() function from tempest.

[1] https://opendev.org/openstack/barbican-tempest-plugin/src/commit/9fe096e1422c7c884b94166763b4857b5abcea30/barbican_tempest_plugin/tests/scenario/manager.py#L462

Comment 5 Martin Kopec 2023-11-14 17:46:48 UTC
The Fixed in version package contains the fix and it's part of the latest build.

Comment 14 errata-xmlrpc 2024-01-16 14:32:31 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 17.1.2 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-2024:0209