Bug 2211677 - Fix test_get_effective_quota test for SRBAC environment
Summary: Fix test_get_effective_quota test for SRBAC environment
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-barbican-tests-tempest
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ga
: 17.1
Assignee: Lukas Piwowarski
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-01 13:22 UTC by Lukas Piwowarski
Modified: 2023-08-16 01:15 UTC (History)
3 users (show)

Fixed In Version: python-barbican-tests-tempest-1.6.0-1.20230511090959.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:15:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 884991 0 None MERGED Modify test_get_effective_quota test 2023-06-06 09:30:56 UTC
Red Hat Issue Tracker OSP-25547 0 None None None 2023-06-01 13:30:01 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:15:52 UTC

Description Lukas Piwowarski 2023-06-01 13:22:36 UTC
The test_get_effective_quotas test [1] uses key-manager:service-admin [2]
legacy role to get effective quotas. Using a user with only this
role should lead to an ERROR in an SRBAC environment.

This Bugzilla is about fixing the test so that it checks whether the ERROR
occurred when the test tried to get quotas in an SRBAC environment.

[1] https://opendev.org/openstack/barbican-tempest-plugin/src/barbican_tempest_plugin/tests/api/test_quotas.py#L27
[2] https://opendev.org/openstack/barbican-tempest-plugin/src/barbican_tempest_plugin/tests/api/base.py#L65

Comment 1 Lukas Svaty 2023-06-08 11:08:18 UTC
Raising severity due to the blocker?

Comment 5 Martin Kopec 2023-06-21 12:01:17 UTC
The required fix is part of the Fixed in version package. Moving to VERIFIED

Comment 15 errata-xmlrpc 2023-08-16 01:15:29 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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577


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