Bug #16355
closedradosgw-admin command, adding the tenants can not view the user usage
0%
Description
root@B-80-11:~# radosgw-admin user stats --uid=yujiang --sync-stats
2016-06-17 09:31:59.434699 7f1f4d814900 0 RGWZoneParams::create(): error creating default zone params: (17) File exists
{
"stats": {
"total_entries": 405,
"total_bytes": 953649650,
"total_bytes_rounded": 954064896
},
"last_stats_sync": "2016-06-17 01:31:59.466783Z",
"last_stats_update": "2016-06-17 01:31:59.465672Z"
}
root@B-80-11:~# radosgw-admin user stats --uid=yujiang7 --tenant=yujiang7 --sync-stats
2016-06-17 09:32:10.479446 7f4508a91900 0 RGWZoneParams::create(): error creating default zone params: (17) File exists
ERROR: failed to sync user stats: (2) No such file or directory
2016-06-17 09:32:10.497489 7f4508a91900 0 ERROR: could not sync bucket stats: ret=-2
root@B-80-11:~# radosgw-admin user stats --uid=yujiang7 --sync-stats
2016-06-17 09:33:50.278366 7f3880fd9900 0 RGWZoneParams::create(): error creating default zone params: (17) File exists
{
"stats": {
"total_entries": 0,
"total_bytes": 0,
"total_bytes_rounded": 0
},
"last_stats_sync": "2016-06-17 01:33:50.297363Z",
"last_stats_update": "0.000000"
}