Re: [Openstack] Swift quota per keystone user

2015-04-29 Thread Kuo Hugo
Hi Kevin, According to your plan for tenant #1 #2 #3 and #2 is shared by Alice and Bob. It needs additional tool or middleware to limit users total usage by user's index. That's not in Swift tho. For your purpose, I think you can arrange #1 for Alice and #2 Bob. And set account quota on both acco

Re: [Openstack] Swift quota per keystone user

2015-04-28 Thread Kévin Bernard-Allies
Thanks for your response, Let's take an example: I have two user, Alice and Bob. Alice has access to tenant #1 and #2 (and so, to the Swift accounts AUTH_1 and AUTH2). Bob has access to tenant #2 and #3. I want to prevents Alice and Bob to upload more data than a limit (let's says 1To per

Re: [Openstack] Swift quota per keystone user

2015-04-27 Thread Kuo Hugo
Hi Kevin, Are you doing multiple user per tenant(Swift account) ? or Are you doing per tenant (Swift account) per user ? Does account-quota middleware help ? https://github.com/openstack/swift/blob/master/swift/common/middleware/account_quotas.py I don't really understand " I creates a new ten

[Openstack] Swift quota per keystone user

2015-04-27 Thread Kévin Bernard-Allies
Hi, I want to set quotas associated to keystone users. In my configuration, an user can create swift containers, and share them with other users. For now, I creates a new tenant for each new shared container, and I add the users with a 'member' role. So, an user can list all tenants which he