Project

General

Profile

Bug #13596

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

Added by Patrick Ringl almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Target version:
Start date:
10/26/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

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

Associated revisions

Revision 78c5b9a2 (diff)
Added by Orit Wasserman almost 3 years ago

radosgw-admin: metadata list user should return an empty list when pool is empty

Fixes: #13596

Signed-off-by: Orit Wasserman <>

History

#1 Updated by Loic Dachary almost 3 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)

#2 Updated by Yehuda Sadeh almost 3 years ago

  • Affected Versions deleted (v0.20, v0.21, v0.21.1, v0.21.2, v0.21.3, v0.21.4, v0.22, v0.22.1, v0.22.2, v0.22.3, v0.23, v0.23.1, v0.23.2, v0.24, v0.24.1, v0.24.2, v0.24.3, v0.25, v0.25.1, v0.25.2, v0.25.3, v0.26, v0.26.1, v0.27, v0.27.1, v0.28, v0.29, v0.30, v0.31, v0.32, v0.33, v0.34, v0.35, v0.36, v0.37, v0.38, v0.39, v0.40, v0.41, v0.42, v0.43, v0.44, v0.45, v0.46, v0.47, v0.48, v0.49, v0.50, v0.51, v0.52a, v0.53a, v0.53b, v0.53c, v0.54a, v0.54b, v0.55a, v0.55b, v0.55c, v0.55d, v0.56, v0.57a, v0.57b, v0.57c, v0.58, v0.59, v0.60, v0.61 - Cuttlefish, v0.62a, v0.62b, v0.63, v0.64, v0.65, v0.66, v0.67 - Dumpling, v0.67rc, v0.67rc - continued, v0.68, v0.68 - continued, v0.69, v0.70, v0.71, v0.72 Emperor, v0.73, v0.74, v0.75, v0.76a, v0.76b, v0.77, 0.78, 0.79, 0.80rc, 0.80, v0.81, 0.82, 0.83, 0.83 cont., 0.84, 0.84 cont., 0.85, 0.85 cont., 0.86, 0.88, 0.89, 0.90, v.91, v.actually90, v.actually91, v0.92, v0.93 - Last Hammer Sprint, v0.94, v0.95, v9.0.2, v9.0.3, v9.0.4, v9.0.5, v9.0.6, v9.0.7, v9.0.8, v0.80.10, v0.80.11, v0.94.2, v0.94.3, v0.94.4)

#3 Updated by Yehuda Sadeh almost 3 years ago

  • Assignee set to Orit Wasserman
  • Priority changed from Normal to High

#4 Updated by Yehuda Sadeh almost 3 years ago

  • Status changed from New to Resolved

Merged, commit:c08344fb48aa79662d213a751591c8503f3178df

Also available in: Atom PDF