[Openstack] openstack swift storage provisioning

Remo Mattei remo at italy1.com
Mon Feb 3 19:29:24 UTC 2014


swift middleware will allow you to know all the info about the account. You however need to find a way to loop it to all the accounts using swift.  
-- 
Remo Mattei


February 3, 2014 at 11:26:41, Samuel Merritt (sam at swiftstack.com) ha scritto:

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).  



_______________________________________________  
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
Post to : openstack at lists.openstack.org  
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  

!DSPAM:1,52efed71143754656934457!  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140203/8de7f9da/attachment.html>


More information about the Openstack mailing list