Actions
Bug #48208
openrgw:usage:when trim usage by user,it is possible to trim other users’ usage.
% 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
Actions