Bug #48208
openrgw:usage:when trim usage by user,it is possible to trim other users’ usage.
0%
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
Updated by chengwu liang over 3 years ago
chengwu liang wrote:
when trim usage by specifying 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
Updated by Casey Bodley over 3 years ago
- Project changed from Ceph to rgw
- Category deleted (
OSD)
Updated by Kefu Chai over 3 years ago
- Status changed from New to Fix Under Review
- Assignee set to chengwu liang
- Pull request ID set to 38035
Updated by Casey Bodley over 3 years ago
- Pull request ID changed from 38035 to 38123