Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncated output of users #48

Open
rgruyters opened this issue Aug 7, 2024 · 1 comment
Open

Truncated output of users #48

rgruyters opened this issue Aug 7, 2024 · 1 comment

Comments

@rgruyters
Copy link

We noticed that we don't receive any metrics from certain users anymore. When investigating the radosgw_usage_exporter I saw that _get_rgw_users only ouput maximum of 1000 users.

Apparently /admin/user?format=json&list only show a maximum of 1000 users.

{'keys': [...], 'truncated': True, 'count': 1000, 'marker': '7:9666549e:users.uid::<REDACTED>$<REDACTED>'}

I have tried to increase the rgw_list_buckets_max_chunk setting in Ceph configuration, unfortunately that didn't help.

@rgruyters
Copy link
Author

FWIW, after some testing I noticed that /metadata/user will list all users. (total of 1689)

I also noticed that the Go Ceph library still uses this method for listing. https://github.com/ceph/go-ceph/blob/master/rgw/admin/user.go#L136-L149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant