[Openstack] openstack swift storage provisioning

Samuel Merritt sam at swiftstack.com
Mon Feb 3 18:33:39 UTC 2014


On 2/3/14 12:16 AM, Heiko Krämer wrote:
> Hi Pragya,
>
> you can set account and container quotas with a ResellerAdmin user.
> http://docs.openstack.org/developer/swift/middleware.html?highlight=quota#module-swift.common.middleware.account_quotas
>
>
> to find out how much a user have in use you need ceilometer.

You don't need ceilometer for that; a simple account HEAD request will 
do. The response will contain a header X-Account-Bytes-Used, and its 
value will be the sum of the sizes of all objects in the account 
(subject to eventual consistency, of course).






More information about the Openstack mailing list