[Openstack] [Swift] Define storage size for specified tenant/user

Gareth academicgareth at gmail.com
Mon Mar 4 17:37:31 UTC 2013


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 at gmail.com> 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 at chmouel.com>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 at gmail.com> 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 at gmail.com
>> >> <mailto:wantwatering at gmail.com>> 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 at lists.launchpad.net
>> >>     <mailto:openstack at lists.launchpad.net>
>> >>     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 at lists.launchpad.net
>> > 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.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130305/a57f7c51/attachment.html>


More information about the Openstack mailing list