Bug #24532
rgw user max buckets not working
0%
Description
Hi all.
Currently, i want to set default max-bucket per user.
I see this config in radosgw.
rgw user max buckets = 10
It not working. I create a new user and max-bucket of this user is 1000.
Thanks
Related issues
History
#1 Updated by zhang sw almost 6 years ago
Maybe you should restart the radosgw. It works in my environment.
#2 Updated by hoan nv almost 6 years ago
I restarted my radosgw admin.
I tested with rados gateway admin api, all config is working.
rgw_user_max_buckets=10 rgw bucket default quota max objects = 50 rgw bucket default quota max size = 1024000000 rgw user default quota max objects = 1000 rgw user default quota max size = 51200000
create user by :
admin api : work radosgw-admin command : not work sync user from keystone : not work
I used this config for ceph radosgw integrate with openstack keystone
rgw keystone api version = 3 rgw keystone url = http://10.5.8.124:5000 rgw keystone admin user = admin rgw keystone admin password = admin rgw keystone admin domain = default rgw keystone admin project = admin rgw_keystone_verify_ssl = false rgw_keystone_accepted_roles = admin,_member_,user rgw_keystone_token_cache_size = 10 rgw_keystone_revocation_interval = 300 rgw s3 auth use keystone = true rgw_keystone_make_new_tenants = true
Thanks.
#3 Updated by Valery Tschopp almost 6 years ago
We have seen the same problem with:
rgw user default quota max size rgw user default quota max objects
not being applied for users sync from Keystone.
#4 Updated by Massimo Sgaravatto almost 6 years ago
I also see problems with "rgw user default quota max size" for OpenStack users. See: https://tracker.ceph.com/issues/24595
But it works for me for users created with "radosgw-admin command"
Where (which section) did you put the "rgw user max buckets" definition ?
#5 Updated by hoan nv almost 6 years ago
@Massimo Sgaravatto
I put "rgw user max buckets" setting in radosgw section
[client.rgw.hoannv-ceph-luminous-zone-2-ceph-proxy] host = hoannv-ceph-luminous-zone-2-rados-1
#6 Updated by Massimo Sgaravatto almost 6 years ago
@hoannv hoannv
As far as I remember I had the same issue having that attribute in the radosgw section
Moving that attribute in the global section helped for the radosgw-admin command (but not for Openstack users)
#7 Updated by hoan nv almost 6 years ago
I put my config to global section and it work. Great.
But i need openstack user which sync from keystone is applied this default quota.
What can i do?
Thanks
#8 Updated by Massimo Sgaravatto almost 6 years ago
I also have the problem with default quota for keystone users (see https://tracker.ceph.com/issues/24595)
#9 Updated by Casey Bodley over 5 years ago
- Related to Bug #24595: rgw: default quota not set in radosgw for Openstack users added
#10 Updated by Alexandre Marangone over 5 years ago
Experiencing the same behavior with LDAP auth.
#11 Updated by Abhishek Lekshmanan over 5 years ago
- Assignee set to Abhishek Lekshmanan