cn
cn copied to clipboard
sync-stats is not working
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?
Not sure what's going on, @mattbenjamin any idea?
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...