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: POST --- QA Contact: Jeremy Agee <jagee>
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: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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