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

Bug 2107098

Summary: [RHOS17] Radosgw access denied when trying to get object with temp_url using SHA256 digest
Product: Red Hat OpenStack Reporter: Giulio Fidente <gfidente>
Component: openstack-tempestAssignee: Giulio Fidente <gfidente>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 17.0 (Wallaby)CC: apevec, fpantano, jdurgin, johfulto, jschluet, lhh, ltoscano, mburns, mhicks, psedlak, slinaber, stchen, udesale, yrabl
Target Milestone: betaKeywords: Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tempest-31.1.0-0.20220705220829.56d259d.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-21 12:24:05 UTC Type: ---
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: 2105950    
Bug Blocks:    

Description Giulio Fidente 2022-07-14 10:57:20 UTC
This bug was initially created as a copy of Bug #2105950

RGW needs support for SHA256 (or other FIPS compliant) algo for tempurl digests [1]

1. https://bugzilla.redhat.com/show_bug.cgi?id=2105950#c14

Comment 6 Yaniv Kaul 2022-07-25 08:15:41 UTC
Moved to VERIFIED, based on:
We got build 0721, FIRST TIME we passed phase 1 & 2, !!!!
We are in the middle of Phase 3.

(From Nathan)

Comment 7 Pavel Sedlák 2022-07-25 09:09:44 UTC
Extra note:

with having tempest switched to sha1 in tempest.conf:
> [object-storage-feature-enabled]
> tempurl_digest_hashlib = sha1
> discoverable_apis = bulk_delete,container_quotas,tempurl,slo,account_quotas,staticweb,tempauth

affected tests are passing now:
> tempest.api.object_storage.test_object_temp_url.ObjectTempUrlTest" name="test_get_object_using_temp_url[id-f91c96d4-1230-4bba-8eb9-84476d18d991]" time="0.044"
> tempest.api.object_storage.test_object_temp_url.ObjectTempUrlTest" name="test_get_object_using_temp_url_key_2[id-671f9583-86bd-4128-a034-be282a68c5d8]" time="0.044"
> tempest.api.object_storage.test_object_temp_url.ObjectTempUrlTest" name="test_get_object_using_temp_url_with_inline_query_parameter[id-9d9cfd90-708b-465d-802c-e4a8090b823d]" time="0.018"
> tempest.api.object_storage.test_object_temp_url.ObjectTempUrlTest" name="test_head_object_using_temp_url[id-249a0111-5ad3-4534-86a7-1993d55f9185]" time="0.028"
> tempest.api.object_storage.test_object_temp_url.ObjectTempUrlTest" name="test_put_object_using_temp_url[id-9b08dade-3571-4152-8a4f-a4f2a873a735]" time="0.069"

Comment 12 errata-xmlrpc 2022-09-21 12:24:05 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.0 (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-2022:6543