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

sync-stats is not working #130

Open
ArpStorm1 opened this issue Jan 6, 2021 · 2 comments
Open

sync-stats is not working #130

ArpStorm1 opened this issue Jan 6, 2021 · 2 comments

Comments

@ArpStorm1
Copy link

Hi,
I've created new user using radosgw-admin api.
After that, I've used the new user to create a bucket and upload an object.
After that, I've tried to see the stats on the user using the following url:
cluster_address/admin/user?format=json&uid=new_user&stats=True&sync=True

The following command returned with the user info, but in the stats it listed there is zero object the user created.
To test that, i've used the following command inside the ceph-nano:
radosgw-admin user stats --uid=new_user --sync-stats.
The stats again - reported that there is no objects the user created, even though I've checked using s3 and I could see the objects.
Any idea?

@leseb
Copy link
Member

leseb commented Jan 14, 2021

Not sure what's going on, @mattbenjamin any idea?

@ArpStorm1
Copy link
Author

I want to update about another weird behavior.
To try and simulate this, I've purged the cluster and started a new one. Using radosgw-admin, I've created a new user and using its credentials I've uploaded an object.
Then, I've noticed that every time I'm trying to run sync-stats, the number of objects radosgw-admin is reporting is increasing.
But of course, only one object existed and that I've made sure using s3 api.
And to summarize all this, when using radosgw-api and sending stats request - I'm getting again that there is no objects belonged to the user...

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

2 participants