radosgw_usage_exporter icon indicating copy to clipboard operation
radosgw_usage_exporter copied to clipboard

fix(get_rgw_users): use metadata query for listing users

Open rgruyters opened this issue 6 months ago • 1 comments

The /admin/user?format=json&list only output the first 1000 users that it come across. /admin/metadata/user?format=json will output all users.

The official Go library for Ceph still uses "metadata/user" for listing all users. (https://github.com/ceph/go-ceph/blob/master/rgw/admin/user.go#L136-L149)

This will fix issue #48

rgruyters avatar Aug 07 '24 09:08 rgruyters