Description of problem: [RFE] RGW renaming a user Requesting a new command to implement RGW user rename. something like: radosgw-admin user rename --uid=<existing username> --new-uid=<new username> Version-Release number of selected component (if applicable): Red Hat Ceph Storage 3.2
*** Bug 1673831 has been marked as a duplicate of this bug. ***
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. Regards, Giri
Hi Subhash, Here are the steps to verify 'user rename': 1. Create a user 'user1'. 2. Create a subuser under 'user1' to test swift access. 2. Create buckets/objects with 'user1' permission 3. Rename 'user1' to a desired name, say 'user2' (this step takes a while depending on the number of objects present) # radosgw-admin user rename --uid user1 --new-uid user2 4. Verify if the user has been successfully renamed by checking 'user info --uid user2'. The S3 and swift access/secret keys should not have changed. 5. 'user1' should not exist anymore. 6. Run GET/PUT operations on the existing buckets and objects which now belong to 'user2'. You could also run some negative tests like specifying an already existing user name in '--new-uid'.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3173
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days