Bug 1830330 - rgw_bucket_parse_bucket_key function is holding old tenant value, when this function is executed in a loop
Summary: rgw_bucket_parse_bucket_key function is holding old tenant value, when this f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 4.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: z1
: 4.1
Assignee: Matt Benjamin (redhat)
QA Contact: Tejas
URL:
Whiteboard:
Depends On:
Blocks: 1816167
TreeView+ depends on / blocked
 
Reported: 2020-05-01 16:13 UTC by Vikhyat Umrao
Modified: 2020-07-20 14:21 UTC (History)
9 users (show)

Fixed In Version: ceph-14.2.8-72.el8cp, ceph-14.2.8-72.el7cp
Doc Type: Bug Fix
Doc Text:
.Bucket tenanting status is interpreted correctly when `rgw_parse_bucket_key` is called Previously, some callers of `rgw_parse_bucket_key` like `radosgw-admin bucket stats`, which processed keys in a loop, could incorrectly interpret untenanted buckets as tenanted, if some tenanted buckets were listed. If `rgw_parse_bucket_key` was called with a non-empty rgw bucket argument, it would not correctly assign an empty value for bucket::tenant when no tenant was present in the key. In {storage-product} 4.1z1 the bucket tenant member is now cleared if no tenant applies and bucket tenanting status is interpreted correctly.
Clone Of: 1830329
Environment:
Last Closed: 2020-07-20 14:21:03 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 45355 0 None None None 2020-05-01 16:14:03 UTC
Github ceph ceph pull 34877 0 None closed rgw/rgw_bucket: clear tenant string for non tenanted buckets in rgw_bucket_parse_bucket_key function. 2020-09-02 07:45:17 UTC
Red Hat Product Errata RHSA-2020:3003 0 None None None 2020-07-20 14:21:28 UTC

Description Vikhyat Umrao 2020-05-01 16:13:29 UTC
+++ This bug was initially created as a clone of Bug #1830329 +++

Description of problem:
rgw_bucket_parse_bucket_key function is holding old tenant value, when this function is executed in a loop
https://tracker.ceph.com/issues/45355
https://github.com/ceph/ceph/pull/34877

Comment 9 errata-xmlrpc 2020-07-20 14:21:03 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, 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/RHSA-2020:3003


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