Bug 2017660

Summary: [cee/sd][RGW] Multisite setup buckets bilogs are not trimmed automatically for RGW Multi-tenant buckets and require manual trim
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Kritik Sachdeva <ksachdev>
Component: RGW-MultisiteAssignee: Casey Bodley <cbodley>
Status: CLOSED ERRATA QA Contact: Chaithra <ckulal>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2CC: assingh, cbodley, ceph-eng-bugs, ckulal, fkellehe, mbenjamin, mhackett, mkasturi, mmuench, rmandyam, smanjara, tserlin, vereddy, vimishra
Target Milestone: ---   
Target Release: 5.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-16.2.10-10.el8cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-11 17:38:56 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:

Description Kritik Sachdeva 2021-10-27 07:05:33 UTC
Description of problem:
In the multisite setup, when RGW multi-tenancy is configured. All of the bucket created for multi-tenant users are not trimmed automatically and requires a manual trim.


Steps to Reproduce:
1. Create a bucket for multi-tenant user
2. Store some objects into the bucket
3. Check the bilog count
4. Execute the command $radosgw-admin bilog autotrim gives the following error:
~~~
$ radosgw-admin bilog autotrim
2021-10-27 02:34:01.196 7f71baffd700  0 ERROR: failed to get bucket instance info for .bucket.meta.testx/newb:0238e72d-332e-49f0-9bb9-17b74d09b50c.46930.1
~~~

Actual results:
Bilogs are not trimmed automatically giving metadata error and requires manual trim

Expected results:
All of the buckets, either multi-tenant or normal, bilogs should be trimmed automatically.

Additional info:

Comment 42 errata-xmlrpc 2023-01-11 17:38:56 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 (Moderate: Red Hat Ceph Storage 5.3 security update and Bug Fix), 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-2023:0076

Comment 43 Red Hat Bugzilla 2023-09-18 04:27:34 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days