Project

General

Profile

Actions

Bug #48208

open

rgw:usage:when trim usage by user,it is possible to trim other users’ usage.

Added by chengwu liang over 3 years ago. Updated over 3 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
rgw;usage trim
Backport:
octopus, nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

when trim usage by user,it is possible to trim other users’ usage.
Steps:
1、set rgw enable usage log = true and rgw usage max shards = 1 in ceph.conf and restart rgw daemon
2、create two users named testuser and testuser_ by radosgw-admin
3、create two different buckets by testuser and testuser_ respectively through s3cmd
4、trim testusers’ usage by radosgw-admin:radosgw-admin usage trim --uid=testuser
5、both users’ usage were trimmed


Files

operation.txt (2.76 KB) operation.txt chengwu liang, 11/12/2020 02:07 AM
Actions

Also available in: Atom PDF