Project

General

Profile

Bug #41589

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 about 4 years ago. Updated almost 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

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 list Resolved

History

#1 Updated by Vikhyat Umrao about 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Vikhyat Umrao

#2 Updated by Vikhyat Umrao about 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 30194

#3 Updated by Casey Bodley about 4 years ago

  • Status changed from Fix Under Review to 7

#4 Updated by Casey Bodley about 4 years ago

  • Status changed from 7 to Resolved

#5 Updated by Vikhyat Umrao about 4 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to nautilus

#6 Updated by Nathan Cutler about 4 years ago

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

#7 Updated by Nathan Cutler almost 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved".

Also available in: Atom PDF