Ask Your Question
1

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:
http://docs.openstack.org/juno/config-reference/content/object-storage-account-quotas.html (http://docs.openstack.org/juno/config...)
In this line:
swift -A http://127.0.0.1:8080/auth/v1.0 -U admin_1:admin_2 -K admin_3 \ --os-storage-url http://127.0.0.1:8080/v1/AUTH_test post -m quota-bytes:10000
what do admin_1, admin_2 and admin_3 mean?
And in this line:
$ swift -A http://127.0.0.1:8080/auth/v1.0 -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
0

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 : http://docs.openstack.org/developer/swift/middleware.html#module-swift.common.middleware.container_quotas (http://docs.openstack.org/developer/s...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 302 times

Last updated: Jan 12 '15