Project

General

Profile

Actions

Bug #13596

closed

radosgw-admin fails user listing when the user pool's empty

Added by Patrick Ringl over 8 years ago. Updated over 8 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:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi,

when executing a 'radosgw-admin metadata list user' without having any user's within the pool defined yet, the following error will be raised:

ERROR: lists_keys_next(): (2) No such file or directory
2015-10-26 10:08:18.059624 7f477a046780 -1 failed to list objects pool_iterate returned r=-2

Instead of this, I'd simply expect an empty dict '[]'.

regards,
pari

Actions

Also available in: Atom PDF