Bug 2213532 - AttributeError: 'VolumeEncryptionTest' object has no attribute '_log_console_output'
Summary: AttributeError: 'VolumeEncryptionTest' object has no attribute '_log_console_...
Keywords:
Status: POST
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-barbican-tests-tempest
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z2
: 17.1
Assignee: Lukas Piwowarski
QA Contact: Jeremy Agee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-08 12:44 UTC by Lukas Piwowarski
Modified: 2023-08-15 11:40 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 833580 0 None MERGED Remove get_remote_client method 2023-06-14 01:34:32 UTC
Red Hat Issue Tracker OSP-25685 0 None None None 2023-06-08 12:49:29 UTC

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


Note You need to log in before you can comment on or make changes to this bug.