Project

General

Profile

Actions

Bug #41589

closed

if user doesnt exist then bucket list should give error/info message (saying user doesnt exist) rather than showing empty list

Added by Vikhyat Umrao over 4 years ago. Updated over 4 years ago.

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

0%

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

Description

https://bugzilla.redhat.com/show_bug.cgi?id=1747516

- It should say --uid empty.

[root@3cfea3e7c7e2 build]# bin/radosgw-admin bucket list --uid=
[
    "my-new-bucket5",
    "my-new-bucket1",
    "my-new-bucket3",
    "my-new-bucket4",
    "my-new-bucket2" 
]

- It should say user does not exist.

[root@3cfea3e7c7e2 build]# bin/radosgw-admin user list
[
    "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234",
    "testx$9876543210abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
    "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
    "test",
    "testid" 
]

[root@3cfea3e7c7e2 build]# bin/radosgw-admin bucket list --uid=abcd
[]

Related issues 1 (0 open1 closed)

Copied to rgw - Backport #41976: nautilus: if user doesnt exist then bucket list should give error/info message (saying user doesnt exist) rather than showing empty listResolvedActions
Actions

Also available in: Atom PDF