← Back to team overview

openstack team mailing list archive

Re: [Swift] Define storage size for specified tenant/user

 

Storage limit for container is already merged into swift, I just merged
swquota into swift for review (I'm the author of swquota ;-)).

I think it's a good feature ;-)

Christian


Am 04.03.13 18:37, schrieb Gareth:
> HI, Chomouel
> 
> Do you think storage limit (for account or for container) is good
> feature in swift?
> 
> 
> On Tue, Mar 5, 2013 at 1:27 AM, Gareth <academicgareth@xxxxxxxxx
> <mailto:academicgareth@xxxxxxxxx>> wrote:
> 
>     You have many choices,
>     1. Chmouel's answer (middleware is a good implementation)
>     2. ACL helps you allow or abandon usage of some user, but cannot
>     give a specified storage limit
>     3. If you're developer, you could add this feature and merge it into
>     swift. (It's not difficult I think)
> 
> 
> 
>     On Mon, Mar 4, 2013 at 10:57 PM, Chmouel Boudjnah
>     <chmouel@xxxxxxxxxxx <mailto:chmouel@xxxxxxxxxxx>> wrote:
> 
>         Maybe this is what you are looking for :
> 
>         https://github.com/cschwede/swquota
> 
>         Chmouel.
> 
>         On Mon, Mar 4, 2013 at 3:17 PM, jeffty <wantwatering@xxxxxxxxx
>         <mailto:wantwatering@xxxxxxxxx>> wrote:
>         > Thanks Gareth,
>         >
>         > But how to set the storage limit? The swift is installed in a
>         single
>         > node, and all the authorized user can use the upload.
>         >
>         > The total amount of storage can be configured and new hard
>         disc can be
>         > added into the ring, but I don't know how to divide individual
>         space for
>         > a user. I try to find related info in manual but failed.
>         >
>         > Thanks.
>         >
>         > On 3/4/2013 12:43 AM, Gareth wrote:
>         >> I think storage limit is a good feature.
>         >>
>         >>
>         >> On Sat, Mar 2, 2013 at 1:14 PM, jeffty
>         <wantwatering@xxxxxxxxx <mailto:wantwatering@xxxxxxxxx>
>         >> <mailto:wantwatering@xxxxxxxxx
>         <mailto:wantwatering@xxxxxxxxx>>> wrote:
>         >>
>         >>     Hi All,
>         >>
>         >>     I can upload/download in swift by execute 'swift upload'
>         and 'swift
>         >>     download'. Is it possible to create storage and define
>         its size for a
>         >>     specified tenant/user without providing any instance?
>         >>
>         >>     Then the user can upload/download his own files in swift
>         and don't need
>         >>     to own an vm instance.
>         >>
>         >>     Thanks.
>         >>
>         >>     _______________________________________________
>         >>     Mailing list: https://launchpad.net/~openstack
>         >>     Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>         <mailto:openstack@xxxxxxxxxxxxxxxxxxx>
>         >>     <mailto:openstack@xxxxxxxxxxxxxxxxxxx
>         <mailto:openstack@xxxxxxxxxxxxxxxxxxx>>
>         >>     Unsubscribe : https://launchpad.net/~openstack
>         >>     More help   : https://help.launchpad.net/ListHelp
>         >>
>         >>
>         >>
>         >>
>         >> --
>         >> Gareth
>         >> /Cloud Computing, Openstack, Fitness, Basketball
>         >> /
>         >> /Novice Openstack contributer/
>         >> /My promise: if you find any spelling or grammar mistake in
>         my email
>         >> from Mar 1 2013, notice me /
>         >> /and I'll donate 1$ or 1¥ to open organization specified by
>         you./
>         >
>         >
>         > _______________________________________________
>         > Mailing list: https://launchpad.net/~openstack
>         > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>         <mailto:openstack@xxxxxxxxxxxxxxxxxxx>
>         > Unsubscribe : https://launchpad.net/~openstack
>         > More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> 
>     -- 
>     Gareth
>     /Cloud Computing, Openstack, Fitness, Basketball
>     /
>     /Novice Openstack contributer/
>     /My promise: if you find any spelling or grammar mistake in my email
>     from Mar 1 2013, notice me /
>     /and I'll donate 1$ or 1¥ to open organization specified by you./
> 
> 
> 
> 
> -- 
> Gareth
> /Cloud Computing, Openstack, Fitness, Basketball
> /
> /Novice Openstack contributer/
> /My promise: if you find any spelling or grammar mistake in my email
> from Mar 1 2013, notice me /
> /and I'll donate 1$ or 1¥ to open organization specified by you./
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 



Follow ups

References