Project

General

Profile

Actions

Bug #16444

closed

rgw-admin: better error message when user has no buckets yet

Added by Abhishek Lekshmanan almost 8 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

When user hasn't created any buckets, user stats will return


$ radosgw-admin user  stats --uid=testid  

ERROR: can't read user header: (2) No such file or directory

This is because we still haven't created a userid.buckets object yet, we can improvise the error message for the user though

Actions

Also available in: Atom PDF