Account creation
To create an account, log on ceph-rgw-01.cloud.pd.infn.it and use the "radosgw-admin user create" user command. E.g:
radosgw-admin user create --uid=sgaravat --display-name="Massimo Sgaravatto" --rgw-realm=cloudprod
Check user info and statistics
Use the "radosgw-admin user stats" and "radosgw-admin user stats" commands.
E.g.:
# radosgw-admin user info --uid=verlato --rgw-realm=cloudprod
{
"user_id": "verlato",
"display_name": "Marco Verlato",
"email": "",
"suspended": 0,
"max_buckets": 1000,
"subusers": [],
"keys": [
{
"user": "verlato",
...
...
root@ceph-rgw-01 ~]# radosgw-admin user stats --uid=zangrand --rgw-realm=cloudprod
{
"stats": {
"total_entries": 3001,
"total_bytes": 873025842,
"total_bytes_rounded": 880791552
},
"last_stats_sync": "2020-03-30 19:40:25.841130Z",
"last_stats_update": "2020-03-30 19:40:25.839388Z"
}
[root@ceph-rgw-01 ~]#
[root@ceph-rgw-01 ~]# radosgw-admin usage show --uid=zangrand --rgw-realm=cloudprod
Modify quota
E.g.:
radosgw-admin quota set --quota-scope=user --uid=verlato --max_size=100GB