This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1474436 - [RFE] Radosgw-admin utility to list users [NEEDINFO]
[RFE] Radosgw-admin utility to list users
Status: VERIFIED
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW (Show other bugs)
3.0
Unspecified Unspecified
low Severity low
: rc
: 3.0
Assigned To: Matt Benjamin (redhat)
vidushi
Erin Donnelly
: FutureFeature
Depends On:
Blocks: 1494421
  Show dependency treegraph
 
Reported: 2017-07-24 11:24 EDT by shilpa
Modified: 2017-10-18 16:03 EDT (History)
11 users (show)

See Also:
Fixed In Version: RHEL: ceph-12.1.2-1.el7cp Ubuntu: ceph_12.1.2-2redhat1xenial
Doc Type: Enhancement
Doc Text:
.New "radosgw-admin user list" command Previously, if an administrator wanted a list of users and subusers, the command required the user's uid as an input. This required extra commands. This release introduces `radosgw-admin user list`, which lists all users and subusers without requiring any uids.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
edonnell: needinfo? (mbenjamin)


Attachments (Terms of Use)

  None (edit)
Description shilpa 2017-07-24 11:24:16 EDT
Description of problem:

Currently RGW admin utility has the capability to print out user/subuser info but the command expects a user uid as an input. And to check the uid we have to run rados command to list rgw .users pool. It would be nice to have a single radosgw-admin command that lists all the users along with user details. 

Something like: 
radosgw-admin user list
Comment 2 Orit Wasserman 2017-07-24 11:48:22 EDT
(In reply to shilpa from comment #0)
> Description of problem:
> 
> Currently RGW admin utility has the capability to print out user/subuser
> info but the command expects a user uid as an input. And to check the uid we
> have to run rados command to list rgw .users pool. It would be nice to have
> a single radosgw-admin command that lists all the users along with user
> details. 
> 
> Something like: 
> radosgw-admin user list

The command "radosgw-admin user list" was added in upstream Kraken and will be part of the 3.0 release.
For 2.x you can use "radosgw-admin metadata list user"
Comment 3 Ken Dreyer (Red Hat) 2017-08-08 15:34:15 EDT
Shilpa does "radosgw-admin user list" work for you in your testing for RHCEPH 3?

Note You need to log in before you can comment on or make changes to this bug.