Project

General

Profile

Actions

Feature #19410

open

radosgw-admin should have an option to show all users' quota and usage

Added by Matthew Vernon about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently, if you want to find out the usage and quota settings for all the S3 users, you have to do something like:

radosgw-admin metadata list user
for each user X:
radosgw-admin user info --uid=X #has quota details
radosgw-admin user stats --uid=X #has usage details

Each call takes about 0.5s, so this scales very poorly. It would be better to:

i) have an option that shows both quota and usage in one call
ii) have this option (and user info/stats) have an option to display details of all users

There was a ceph-users thread about this, beginning here - http://lists.ceph.com/pipermail/ceph-users-ceph.com/2017-March/016773.html the conclusion of which was that I should file an issue here.

Actions #1

Updated by Casey Bodley about 7 years ago

  • Tracker changed from Bug to Feature
Actions #2

Updated by Matthew Vernon about 7 years ago

I think this is, in fact, a bug not just a feature request - currently it takes ~1s to find out the usage and quota for each user, which scales badly for larger clusters with a few hundred users.

Actions

Also available in: Atom PDF