List of users:
radosgw-admin metadata list user
List of buckets:
radosgw-admin metadata list bucket
List of bucket instances:
radosgw-admin metadata list user.instance
All necessary information
- user-id = Output from the list of users
- bucket-id = Output from the list of bucket instances
- bucket-name = Output from the list of buckets or bucket instances
- Change of user for this bucket instance:
radosgw-admin bucket link --bucket <bucket-name> --bucket-id <default-uuid>.267207.1 --uid=<user-uid>
Example:
radosgw-admin bucket link --bucket test-clyso-test --bucket-id aa81cf7e-38c5-4200-b26b-86e900207813.267207.1 --uid=c19f62adbc7149ad9d19-8acda2dcf3c0
If you compare the buckets before and after the change, the following values are changed:
- ver: is increased
- mtime: will be updated
- owner: is set to the new uid
- key: user.rgw.acl: The rights are reset for the user.rgw.acl key