Project

General

Profile

Actions

Bug #16355

closed

radosgw-admin command, adding the tenants can not view the user usage

Added by Jiang Yu almost 8 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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"
}


Related issues 1 (0 open1 closed)

Related to rgw - Bug #17215: Unable to suspend a user that is part of a tenantResolved09/06/2016

Actions
Actions #1

Updated by Gaudenz Steinlin over 7 years ago

I have the same error when trying to see user stats for a user which is not in the default tenant. Syncing stats throws an error. If the user is in the default empty tenant it works as it should.

The background stats upgrade seems to work. Eventually the stats for the user in the tenant are correct, but it's not possible to sync the stats for the user stats command.

This is on jewel version 10.2.3.

Actions #3

Updated by Yehuda Sadeh about 7 years ago

  • Priority changed from Normal to High
Actions #4

Updated by Yehuda Sadeh almost 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Radoslaw Zarzynski
Actions #5

Updated by Orit Wasserman almost 7 years ago

The proposed pr breaks backward compatibility, no other solution at the moment

Actions #6

Updated by Radoslaw Zarzynski over 6 years ago

  • Related to Bug #17215: Unable to suspend a user that is part of a tenant added
Actions #7

Updated by Radoslaw Zarzynski over 6 years ago

  • Status changed from In Progress to Resolved

Resolved in https://github.com/ceph/ceph/pull/13220 (already merged).

Actions

Also available in: Atom PDF