Ask Your Question
0

Account and container Quota working ?

asked 2013-04-19 10:22:27 -0500

foexle gravatar image

Hi Guys,

i'm testing the implemented account and container quota in 1.8.0 (stable).

I've configured the proxy: [pipeline:main] pipeline = catch_errors healthcheck proxy-logging cache slo tempurl ratelimit authtoken keystone s3token container-quotas account-quotas proxy-logging proxy-server

[filter:account-quotas] use = egg:swift#account_quotas

[filter:container-quotas] use = egg:swift#container_quotas

I've set a account Quota (read in your doc: http://docs.openstack.org/developer/s... ) like this:

swift -V 2 -A https://xxxxxx:5000/v2.0 -U testing:admin -K xxxx post -m x-account-meta-quota-bytes:10000 and swift -V 2 -A https://xxxxxx:5000/v2.0 -U testing:admin -K xxxx post -m quota-bytes:10000

but it's seems to be not working.... root@swift1:~# swift -V 2 -A https://xxxxx:5000/v2.0 -U testing:admin -K xxxx stat Account: AUTH_d4e1c14691d841f6b53a24b6c4c42a0e Containers: 1 Objects: 3 Bytes: 21210320 Meta X-Account-Meta-Quota-Bytes: 10000 Meta Quota-Bytes: 10000 X-Timestamp: 1365706132.30562 X-Trans-Id: tx4d454554a7c641c7a0c391f58a94659f Content-Type: text/plain; charset=utf-8 Accept-Ranges: bytes

I can upload files without any constraints. It's anything wrong with my config or my testcase ?

Thx and Greetings Heiko

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-04-19 14:23:28 -0500

foexle gravatar image

Problem is solved it lokes like the admin user can upload each time :)

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: 2013-04-19 10:22:27 -0500

Seen: 26 times

Last updated: Apr 19 '13