Ask Your Question

Swift set quotas on a account.

asked 2015-01-12 02:49:35 -0500

swdream gravatar image

Hi everyone.
i using Juno openstack swift storage. When i set a quotas on a account, i did the following: (
In this line:
swift -A -U admin_1:admin_2 -K admin_3 \ --os-storage-url post -m quota-bytes:10000
what do admin_1, admin_2 and admin_3 mean?
And in this line:
$ swift -A -U test:tester -K testing stat What do tester, testing mean?
Please help me explain that. Thanks in advance !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-13 20:45:18 -0500

I believe 'admin_1' = Account and 'admin_2' = Reseller, and 'admin_3' = Secret, the reference document below should explain this a bit better. Typically Account and Container quotas are used for the process of reselling the product as shown in this example. Have you modified your /etc/swift/proxy-server.conf?

Metadata                                     Use
X-Container-Meta-Quota-Bytes    Maximum size of the container, in bytes.
X-Container-Meta-Quota-Count    Maximum object count of the container.

Reference : (

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-12 02:49:35 -0500

Seen: 442 times

Last updated: Jan 12 '15