Bug 2192193

Summary: [glance][RBAC] Incorrect code response while preforming certain actions by reader user
Product: Red Hat OpenStack Reporter: lkuchlan <lkuchlan>
Component: python-glance-tests-tempestAssignee: Abhishek Kekane <akekane>
Status: CLOSED ERRATA QA Contact: msava
Severity: low Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: akekane, ltoscano, pgrist, udesale
Target Milestone: gaKeywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-glance-tests-tempest-0.4.0-1.20230608131140.87df2f4.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 01:14:53 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:
Bug Depends On:    
Bug Blocks: 1326392    

Comment 1 Abhishek Kekane 2023-05-04 15:33:56 UTC
This patch needs to be included in tempest-plugin

https://review.opendev.org/c/openstack/glance-tempest-plugin/+/876235

It is available in master but for 17/17.1 since its based on wallaby I think we are running it against 0.2.0 tag [1]

[1] https://github.com/openstack/glance-tempest-plugin/tree/0.2.0

Comment 8 Luigi Toscano 2023-06-22 16:54:09 UTC
The issue was about a set of failures when running glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests

The issue has now been fixed and the following tests pass:
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_add_image_member
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_create_image
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_deactivate_image
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_delete_image
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_delete_image_member
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_download_image
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_get_image
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_get_image_member
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_list_images
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_list_image_members
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_reactivate_image
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_update_image
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_update_image_member
glance_tempest_plugin.tests.rbac.v2.test_project_reader_tests.ProjectReaderTests.test_upload_image

Verified with:
python3-glance-tests-tempest-0.4.0-1.20230608131140.87df2f4.el9ost.noarch
openstack-tempest-33.0.0-1.20230406160852.1580f6f.el9ost.noarch

Comment 16 errata-xmlrpc 2023-08-16 01:14:53 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